@@ -210,7 +210,7 @@ mergeInto(LibraryManager.library, {
210
210
Asyncify . state = Asyncify . State . Normal ;
211
211
// Keep the runtime alive so that a re-wind can be done later.
212
212
#if ASYNCIFY == 1
213
- runAndAbortIfError ( Module [ ' _asyncify_stop_unwind' ] ) ;
213
+ runAndAbortIfError ( _asyncify_stop_unwind ) ;
214
214
#endif
215
215
if ( typeof Fibers != 'undefined' ) {
216
216
Fibers . trampoline ( ) ;
@@ -331,7 +331,7 @@ mergeInto(LibraryManager.library, {
331
331
#endif
332
332
Asyncify . state = Asyncify . State . Rewinding ;
333
333
#if ASYNCIFY == 1
334
- runAndAbortIfError ( ( ) => Module [ ' _asyncify_start_rewind' ] ( Asyncify . currData ) ) ;
334
+ runAndAbortIfError ( ( ) => _asyncify_start_rewind ( Asyncify . currData ) ) ;
335
335
#endif
336
336
if ( typeof Browser != 'undefined' && Browser . mainLoop . func ) {
337
337
Browser . mainLoop . resume ( ) ;
@@ -392,7 +392,7 @@ mergeInto(LibraryManager.library, {
392
392
// TODO: handle rejection
393
393
} ) ;
394
394
#else
395
- runAndAbortIfError ( ( ) => Module [ ' _asyncify_start_unwind' ] ( Asyncify . currData ) ) ;
395
+ runAndAbortIfError ( ( ) => _asyncify_start_unwind ( Asyncify . currData ) ) ;
396
396
#endif
397
397
}
398
398
} else if ( Asyncify . state === Asyncify . State . Rewinding ) {
@@ -402,7 +402,7 @@ mergeInto(LibraryManager.library, {
402
402
#endif
403
403
Asyncify . state = Asyncify . State . Normal ;
404
404
#if ASYNCIFY == 1
405
- runAndAbortIfError ( Module [ ' _asyncify_stop_rewind' ] ) ;
405
+ runAndAbortIfError ( _asyncify_stop_rewind ) ;
406
406
#endif
407
407
_free ( Asyncify . currData ) ;
408
408
Asyncify . currData = null ;
@@ -534,7 +534,7 @@ mergeInto(LibraryManager.library, {
534
534
_emscripten_stack_set_limits ( stack_base , stack_max ) ;
535
535
536
536
#if STACK_OVERFLOW_CHECK >= 2
537
- Module [ ' ___set_stack_limits' ] ( stack_base , stack_max ) ;
537
+ ___set_stack_limits ( stack_base , stack_max ) ;
538
538
#endif
539
539
540
540
stackRestore ( { { { makeGetValue ( 'newFiber' , C_STRUCTS . emscripten_fiber_s . stack_ptr , 'i32' ) } } } ) ;
@@ -561,7 +561,7 @@ mergeInto(LibraryManager.library, {
561
561
err ( 'ASYNCIFY/FIBER: start rewind' , asyncifyData , '(resuming fiber' , newFiber , ')' ) ;
562
562
#endif
563
563
Asyncify . state = Asyncify . State . Rewinding ;
564
- Module [ ' _asyncify_start_rewind' ] ( asyncifyData ) ;
564
+ _asyncify_start_rewind ( asyncifyData ) ;
565
565
Asyncify . doRewind ( asyncifyData ) ;
566
566
}
567
567
} ,
@@ -610,7 +610,7 @@ mergeInto(LibraryManager.library, {
610
610
#if ASYNCIFY_DEBUG
611
611
err ( 'ASYNCIFY/FIBER: start unwind' , asyncifyData ) ;
612
612
#endif
613
- Module [ ' _asyncify_start_unwind' ] ( asyncifyData ) ;
613
+ _asyncify_start_unwind ( asyncifyData ) ;
614
614
615
615
var stackTop = stackSave ( ) ;
616
616
{ { { makeSetValue ( 'oldFiber' , C_STRUCTS . emscripten_fiber_s . stack_ptr , 'stackTop' , 'i32' ) } } } ;
@@ -624,7 +624,7 @@ mergeInto(LibraryManager.library, {
624
624
err ( 'ASYNCIFY/FIBER: stop rewind' ) ;
625
625
#endif
626
626
Asyncify . state = Asyncify . State . Normal ;
627
- Module [ ' _asyncify_stop_rewind' ] ( ) ;
627
+ _asyncify_stop_rewind ( ) ;
628
628
Asyncify . currData = null ;
629
629
}
630
630
} ,
0 commit comments