Remove the code for WASM_ENABLE_GC (#1200)

Remove the code for WASM_ENABLE_GC as it is for a dev branch
This commit is contained in:
YAMAMOTO Takashi 2022-06-01 17:46:11 +09:00 committed by Wang Ning
parent 497c82ffb1
commit 74af0c35ee

View File

@ -1274,10 +1274,6 @@ val_type_to_val_kind(uint8 value_type)
case VALUE_TYPE_EXTERNREF: case VALUE_TYPE_EXTERNREF:
return WASM_ANYREF; return WASM_ANYREF;
default: default:
#if WASM_ENABLE_GC != 0
if (wasm_is_type_reftype(value_type))
return WASM_ANYREF;
#endif
bh_assert(0); bh_assert(0);
return 0; return 0;
} }