Ver Fonte

Remove the code for WASM_ENABLE_GC (#1200)

Remove the code for WASM_ENABLE_GC as it is for a dev branch
YAMAMOTO Takashi há 3 anos atrás
pai
commit
ec299554dd
1 ficheiros alterados com 0 adições e 4 exclusões
  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;
     }