call fail_marker_group1() in wasm_set_exception_local()
This commit is contained in:
@ -3069,6 +3069,11 @@ wasm_runtime_get_exec_env_singleton(WASMModuleInstanceCommon *module_inst_comm)
|
||||
return module_inst->exec_env_singleton;
|
||||
}
|
||||
|
||||
void
|
||||
fail_marker_group1()
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
wasm_set_exception_local(WASMModuleInstance *module_inst, const char *exception)
|
||||
{
|
||||
@ -3076,6 +3081,7 @@ wasm_set_exception_local(WASMModuleInstance *module_inst, const char *exception)
|
||||
if (exception) {
|
||||
snprintf(module_inst->cur_exception, sizeof(module_inst->cur_exception),
|
||||
"Exception: %s", exception);
|
||||
fail_marker_group1();
|
||||
}
|
||||
else {
|
||||
module_inst->cur_exception[0] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user