@@ -3524,13 +3524,13 @@ LibraryManager.library = {
3524
3524
// mode are created here and imported by the module.
3525
3525
// Mark with `__import` so these are usable from native code. This is needed
3526
3526
// because, by default, only functions can be be imported.
3527
- __stack_pointer : "new WebAssembly.Global({'value': '{{{ POINTER_TYPE }}}', 'mutable': true}, {{{ to64(STACK_BASE) }}})" ,
3527
+ __stack_pointer : "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': true}, {{{ to64(STACK_BASE) }}})" ,
3528
3528
__stack_pointer__import : true ,
3529
3529
// tell the memory segments where to place themselves
3530
- __memory_base : "new WebAssembly.Global({'value': '{{{ POINTER_TYPE }}}', 'mutable': false}, {{{ to64(GLOBAL_BASE) }}})" ,
3530
+ __memory_base : "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': false}, {{{ to64(GLOBAL_BASE) }}})" ,
3531
3531
__memory_base__import : true ,
3532
3532
// the wasm backend reserves slot 0 for the NULL function pointer
3533
- __table_base : "new WebAssembly.Global({'value': '{{{ POINTER_TYPE }}}', 'mutable': false}, {{{ to64(1) }}})" ,
3533
+ __table_base : "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': false}, {{{ to64(1) }}})" ,
3534
3534
__table_base__import : true ,
3535
3535
#if MEMORY64
3536
3536
__table_base32 : 1 ,
@@ -3544,11 +3544,11 @@ LibraryManager.library = {
3544
3544
__heap_base__import : true ,
3545
3545
#if EXCEPTION_HANDLING
3546
3546
// In dynamic linking we define tags here and feed them to each module
3547
- __cpp_exception : "new WebAssembly.Tag({'parameters': ['{{{ POINTER_TYPE }}}']})" ,
3547
+ __cpp_exception : "new WebAssembly.Tag({'parameters': ['{{{ POINTER_WASM_TYPE }}}']})" ,
3548
3548
__cpp_exception__import : true ,
3549
3549
#endif
3550
3550
#if SUPPORT_LONGJMP == 'wasm'
3551
- __c_longjmp : "new WebAssembly.Tag({'parameters': ['{{{ POINTER_TYPE }}}']})" ,
3551
+ __c_longjmp : "new WebAssembly.Tag({'parameters': ['{{{ POINTER_WASM_TYPE }}}']})" ,
3552
3552
__c_longjmp_import : true ,
3553
3553
#endif
3554
3554
#endif
0 commit comments