Skip to content

Commit f7204bd

Browse files
author
Georgii Rylov
committed
standard frame is not supported when GC is enabled
1 parent fb6c05e commit f7204bd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/iwasm/aot/aot_runtime.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4161,6 +4161,7 @@ aot_iterate_callstack_standard_frame(WASMExecEnv *exec_env,
41614161
* top_boundary For more details check wasm_iterate_callstack in
41624162
* wasm_export.h
41634163
*/
4164+
#if WASM_ENABLE_GC == 0
41644165
WASMModuleInstance *module_inst =
41654166
(WASMModuleInstance *)wasm_exec_env_get_module_inst(exec_env);
41664167
AOTFrame *cur_frame = (AOTFrame *)wasm_exec_env_get_cur_frame(exec_env);
@@ -4180,6 +4181,12 @@ aot_iterate_callstack_standard_frame(WASMExecEnv *exec_env,
41804181
}
41814182
cur_frame = cur_frame->prev_frame;
41824183
}
4184+
#else
4185+
/*
4186+
* TODO: add support for standard frames when GC is enabled
4187+
* now it poses a risk due to variable size of the frame
4188+
*/
4189+
#endif
41834190
}
41844191

41854192
void

0 commit comments

Comments
 (0)