소스 검색

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 년 전
부모
커밋
ec299554dd
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  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;
     }