Explorar o código

Remove the code for WASM_ENABLE_GC (#1200)

Remove the code for WASM_ENABLE_GC as it is for a dev branch
YAMAMOTO Takashi %!s(int64=3) %!d(string=hai) anos
pai
achega
ec299554dd
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      core/iwasm/common/wasm_runtime_common.c

+ 0 - 4
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;
     }