We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46648b0 commit a20944fCopy full SHA for a20944f
wasm2c/wasm-rt-impl.h
@@ -57,9 +57,10 @@ extern WASM_RT_THREAD_LOCAL uint32_t wasm_rt_saved_call_stack_depth;
57
* my_wasm_func();
58
* ```
59
*/
60
-#define wasm_rt_impl_try() \
61
- (WASM_RT_SAVE_STACK_DEPTH(), wasm_rt_set_unwind_target(&g_wasm_rt_jmp_buf), \
62
- WASM_RT_SETJMP(g_wasm_rt_jmp_buf))
+#define wasm_rt_impl_try() \
+ WASM_RT_SETJMP((WASM_RT_SAVE_STACK_DEPTH(), \
+ wasm_rt_set_unwind_target(&g_wasm_rt_jmp_buf), \
63
+ g_wasm_rt_jmp_buf))
64
65
#ifdef __cplusplus
66
}
0 commit comments