From ec299554dd75adf69ccb799bf5bdfb188ccf0249 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 1 Jun 2022 17:46:11 +0900 Subject: [PATCH] Remove the code for WASM_ENABLE_GC (#1200) Remove the code for WASM_ENABLE_GC as it is for a dev branch --- core/iwasm/common/wasm_runtime_common.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/iwasm/common/wasm_runtime_common.c b/core/iwasm/common/wasm_runtime_common.c index 2f7b471e..943577b4 100644 --- a/core/iwasm/common/wasm_runtime_common.c +++ b/core/iwasm/common/wasm_runtime_common.c @@ -1274,10 +1274,6 @@ val_type_to_val_kind(uint8 value_type) case VALUE_TYPE_EXTERNREF: return WASM_ANYREF; default: -#if WASM_ENABLE_GC != 0 - if (wasm_is_type_reftype(value_type)) - return WASM_ANYREF; -#endif bh_assert(0); return 0; }