@@ -385,7 +385,6 @@ mergeInto(LibraryManager.library, {
385
385
// AppleWebKit/605.1.15 Safari/604.1 Version/13.0.4 iPhone OS 13_3 on iPhone 6s with iOS 13.3
386
386
// AppleWebKit/605.1.15 Version/13.0.3 Intel Mac OS X 10_15_1 on Safari 13.0.3 (15608.3.10.1.4) on macOS Catalina 10.15.1
387
387
// Hence the support status of .copyWithin() for Safari version range [10.0.0, 10.1.0] is unknown.
388
- emscripten_memcpy_big__import : true ,
389
388
emscripten_memcpy_big : '= Uint8Array . prototype . copyWithin \n' +
390
389
' ? function(dest, src, num) { HEAPU8.copyWithin(dest, src, src + num); }\n' +
391
390
' : function(dest, src, num) { HEAPU8.set(HEAPU8.subarray(src, src+num), dest); }\n' ,
@@ -2293,7 +2292,6 @@ mergeInto(LibraryManager.library, {
2293
2292
return Math . random ( ) ;
2294
2293
} ,
2295
2294
2296
- emscripten_get_now__import : true ,
2297
2295
emscripten_get_now__sig : 'd ',
2298
2296
emscripten_get_now : '; ' +
2299
2297
#if ENVIRONMENT_MAY_BE_NODE
@@ -3591,16 +3589,11 @@ mergeInto(LibraryManager.library, {
3591
3589
#if RELOCATABLE
3592
3590
// Globals that are normally exported from the wasm module but in relocatable
3593
3591
// mode are created here and imported by the module.
3594
- // Mark with `__import` so these are usable from native code. This is needed
3595
- // because, by default, only functions can be be imported.
3596
3592
__stack_pointer: "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': true}, {{{ to64(STACK_BASE) }}})" ,
3597
- __stack_pointer__import : true ,
3598
3593
// tell the memory segments where to place themselves
3599
3594
__memory_base : "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': false}, {{{ to64(GLOBAL_BASE) }}})" ,
3600
- __memory_base__import : true ,
3601
3595
// the wasm backend reserves slot 0 for the NULL function pointer
3602
3596
__table_base : "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': false}, {{{ to64(1) }}})" ,
3603
- __table_base__import : true ,
3604
3597
#if MEMORY64
3605
3598
__table_base32: 1 ,
3606
3599
#endif
@@ -3610,11 +3603,9 @@ mergeInto(LibraryManager.library, {
3610
3603
// have __heap_base hardcoded into it - it receives it from JS as an extern
3611
3604
// global, basically).
3612
3605
__heap_base : '{{{ to64(HEAP_BASE) }}}' ,
3613
- __heap_base__import : true ,
3614
3606
#if WASM_EXCEPTIONS
3615
3607
// In dynamic linking we define tags here and feed them to each module
3616
3608
__cpp_exception: "new WebAssembly.Tag({'parameters': ['{{{ POINTER_WASM_TYPE }}}']})" ,
3617
- __cpp_exception__import : true ,
3618
3609
#endif
3619
3610
#if SUPPORT_LONGJMP == 'wasm'
3620
3611
__c_longjmp: "new WebAssembly.Tag({'parameters': ['{{{ POINTER_WASM_TYPE }}}']})" ,
0 commit comments