Przeglądaj źródła

Remove the code for WASM_ENABLE_GC (#1200)

Remove the code for WASM_ENABLE_GC as it is for a dev branch
YAMAMOTO Takashi 3 lat temu
rodzic
commit
ec299554dd
1 zmienionych plików z 0 dodań i 4 usunięć
  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;
     }