wasm-micro-runtime/core/iwasm/common/gc/gc_object.c
Wenyong Huang 2f45911641
Import basic codes of GC feature (#823)
Import basic codes of GC feature:
- Add basic GC related macros, data structures and APIs
- Change WASMType to WASMFuncType/AOTFuncType and re-org interp/aot codes
- Import GC opcodes and add empty opcode handling in loader and interpreter
- Implement type section loading to resolve func/struct/array type
- Implement is_subtype_of for func/struct/array, implement struct field offset calculation
- Add -G option for test_wamr.sh to test GC spec cases

Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
2021-11-09 18:25:08 +08:00

7 lines
152 B
C

/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "gc_object.h"