@@ -385,7 +385,6 @@ mergeInto(LibraryManager.library, {
385385 // AppleWebKit/605.1.15 Safari/604.1 Version/13.0.4 iPhone OS 13_3 on iPhone 6s with iOS 13.3
386386 // 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
387387 // Hence the support status of .copyWithin() for Safari version range [10.0.0, 10.1.0] is unknown.
388- emscripten_memcpy_big__import : true ,
389388 emscripten_memcpy_big : '= Uint8Array . prototype . copyWithin \n' +
390389 ' ? function(dest, src, num) { HEAPU8.copyWithin(dest, src, src + num); }\n' +
391390 ' : function(dest, src, num) { HEAPU8.set(HEAPU8.subarray(src, src+num), dest); }\n' ,
@@ -2293,7 +2292,6 @@ mergeInto(LibraryManager.library, {
22932292 return Math . random ( ) ;
22942293 } ,
22952294
2296- emscripten_get_now__import : true ,
22972295 emscripten_get_now__sig : 'd ',
22982296 emscripten_get_now : '; ' +
22992297#if ENVIRONMENT_MAY_BE_NODE
@@ -3591,16 +3589,11 @@ mergeInto(LibraryManager.library, {
35913589#if RELOCATABLE
35923590 // Globals that are normally exported from the wasm module but in relocatable
35933591 // 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.
35963592 __stack_pointer: "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': true}, {{{ to64(STACK_BASE) }}})" ,
3597- __stack_pointer__import : true ,
35983593 // tell the memory segments where to place themselves
35993594 __memory_base : "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': false}, {{{ to64(GLOBAL_BASE) }}})" ,
3600- __memory_base__import : true ,
36013595 // the wasm backend reserves slot 0 for the NULL function pointer
36023596 __table_base : "new WebAssembly.Global({'value': '{{{ POINTER_WASM_TYPE }}}', 'mutable': false}, {{{ to64(1) }}})" ,
3603- __table_base__import : true ,
36043597#if MEMORY64
36053598 __table_base32: 1 ,
36063599#endif
@@ -3610,11 +3603,9 @@ mergeInto(LibraryManager.library, {
36103603 // have __heap_base hardcoded into it - it receives it from JS as an extern
36113604 // global, basically).
36123605 __heap_base : '{{{ to64(HEAP_BASE) }}}' ,
3613- __heap_base__import : true ,
36143606#if WASM_EXCEPTIONS
36153607 // In dynamic linking we define tags here and feed them to each module
36163608 __cpp_exception: "new WebAssembly.Tag({'parameters': ['{{{ POINTER_WASM_TYPE }}}']})" ,
3617- __cpp_exception__import : true ,
36183609#endif
36193610#if SUPPORT_LONGJMP == 'wasm'
36203611 __c_longjmp: "new WebAssembly.Tag({'parameters': ['{{{ POINTER_WASM_TYPE }}}']})" ,
0 commit comments