File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
system/include/emscripten Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -482,8 +482,8 @@ var LibraryEmVal = {
482482 } ) ) ;
483483 } ,
484484
485- _emval_coro_exception_to_error__deps : [ '$Emval' , '__cxa_rethrow' ] ,
486- _emval_coro_exception_to_error : ( ) => {
485+ _emval_coro_val_from_current_cxa_exception__deps : [ '$Emval' , '__cxa_rethrow' ] ,
486+ _emval_coro_val_from_current_cxa_exception : ( ) => {
487487 try {
488488 // Use __cxa_rethrow which already has mechanism for generating
489489 // user-friendly error message and stacktrace from C++ exception
Original file line number Diff line number Diff line change @@ -339,9 +339,9 @@ sigs = {
339339 _emval_await__sig : 'pp' ,
340340 _emval_call__sig : 'dpppp' ,
341341 _emval_call_method__sig : 'dppppp' ,
342- _emval_coro_exception_to_error__sig : 'p' ,
343342 _emval_coro_make_promise__sig : 'ppp' ,
344343 _emval_coro_suspend__sig : 'vpp' ,
344+ _emval_coro_val_from_current_cxa_exception__sig : 'p' ,
345345 _emval_decref__sig : 'vp' ,
346346 _emval_delete__sig : 'ipp' ,
347347 _emval_equals__sig : 'ipp' ,
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ EM_VAL _emval_iter_next(EM_VAL iterator);
118118
119119#if __cplusplus >= 202002L
120120void _emval_coro_suspend (EM_VAL promise, void * coro_ptr);
121- EM_VAL _emval_coro_exception_to_error ();
121+ EM_VAL _emval_coro_val_from_current_cxa_exception ();
122122EM_VAL _emval_coro_make_promise (EM_VAL *resolve, EM_VAL *reject);
123123#endif
124124
@@ -793,7 +793,7 @@ class val::promise_type {
793793 } catch (const val& error) {
794794 reject (error);
795795 } catch (...) {
796- val error = val (internal::_emval_coro_exception_to_error ());
796+ val error = val (internal::_emval_coro_val_from_current_cxa_exception ());
797797 reject (error);
798798 }
799799 }
You can’t perform that action at this time.
0 commit comments