Synchronize the GC spec tests to the commit from December 9. 2024. (#4022)
- Synchronize the GC spec tests to the commit from December 9. 2024. - Revise the error messages to be consistent with the spec test cases. - bypass gc spec test on the nuttx platform as a workaround
This commit is contained in:
@ -1992,7 +1992,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
|
||||
#endif
|
||||
func_obj = POP_REF();
|
||||
if (!func_obj) {
|
||||
wasm_set_exception(module, "null function object");
|
||||
wasm_set_exception(module, "null function reference");
|
||||
goto got_exception;
|
||||
}
|
||||
|
||||
@ -2007,7 +2007,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
|
||||
#endif
|
||||
func_obj = POP_REF();
|
||||
if (!func_obj) {
|
||||
wasm_set_exception(module, "null function object");
|
||||
wasm_set_exception(module, "null function reference");
|
||||
goto got_exception;
|
||||
}
|
||||
|
||||
@ -2148,7 +2148,8 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
|
||||
struct_obj = POP_REF();
|
||||
|
||||
if (!struct_obj) {
|
||||
wasm_set_exception(module, "null structure object");
|
||||
wasm_set_exception(module,
|
||||
"null structure reference");
|
||||
goto got_exception;
|
||||
}
|
||||
|
||||
@ -2204,7 +2205,8 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
|
||||
|
||||
struct_obj = POP_REF();
|
||||
if (!struct_obj) {
|
||||
wasm_set_exception(module, "null structure object");
|
||||
wasm_set_exception(module,
|
||||
"null structure reference");
|
||||
goto got_exception;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user