diff --git a/core/iwasm/common/gc/gc_type.c b/core/iwasm/common/gc/gc_type.c index 5ade1cb2..c9e6d206 100644 --- a/core/iwasm/common/gc/gc_type.c +++ b/core/iwasm/common/gc/gc_type.c @@ -846,12 +846,6 @@ wasm_is_reftype_supers_of_func(uint8 type) return (type == REF_TYPE_FUNCREF) ? true : false; } -inline static bool -wasm_is_reftype_supers_of_extern(uint8 type) -{ - return (type == REF_TYPE_EXTERNREF) ? true : false; -} - #if WASM_ENABLE_STRINGREF != 0 inline static bool wasm_is_reftype_supers_of_string(uint8 type) diff --git a/core/iwasm/common/wasm_runtime_common.c b/core/iwasm/common/wasm_runtime_common.c index 6f250861..3b08d3ec 100644 --- a/core/iwasm/common/wasm_runtime_common.c +++ b/core/iwasm/common/wasm_runtime_common.c @@ -384,12 +384,14 @@ runtime_exception_handler(EXCEPTION_POINTERS *exce_info) return ret; } #endif + else { + LOG_WARNING("Unhandled exception thrown: exception code: 0x%lx, " + "exception address: %p, exception information: %p\n", + ExceptionRecord->ExceptionCode, + ExceptionRecord->ExceptionAddress, sig_addr); + } } - LOG_ERROR("Unhandled exception thrown: exception code: 0x%lx, " - "exception address: %p, exception information: %p\n", - ExceptionRecord->ExceptionCode, ExceptionRecord->ExceptionAddress, - sig_addr); return EXCEPTION_CONTINUE_SEARCH; } #endif /* end of BH_PLATFORM_WINDOWS */