File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4161,6 +4161,7 @@ aot_iterate_callstack_standard_frame(WASMExecEnv *exec_env,
4161
4161
* top_boundary For more details check wasm_iterate_callstack in
4162
4162
* wasm_export.h
4163
4163
*/
4164
+ #if WASM_ENABLE_GC == 0
4164
4165
WASMModuleInstance * module_inst =
4165
4166
(WASMModuleInstance * )wasm_exec_env_get_module_inst (exec_env );
4166
4167
AOTFrame * cur_frame = (AOTFrame * )wasm_exec_env_get_cur_frame (exec_env );
@@ -4180,6 +4181,12 @@ aot_iterate_callstack_standard_frame(WASMExecEnv *exec_env,
4180
4181
}
4181
4182
cur_frame = cur_frame -> prev_frame ;
4182
4183
}
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
4183
4190
}
4184
4191
4185
4192
void
You can’t perform that action at this time.
0 commit comments