diff options
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r-- | src/wasm-type.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h index 958e14477..b85855f0b 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -75,6 +75,7 @@ public: exnref, anyref, eqref, + dataref, i31ref, }; static constexpr BasicType _last_basic_type = i31ref; @@ -119,7 +120,8 @@ public: // │ exnref ║ x │ │ x │ x │ n │ │ n_ullable // │ anyref ║ x │ │ x │ x │ f? n │ │ // │ eqref ║ x │ │ x │ x │ n │ │ ┐ TODO (GC) - // │ i31ref ║ x │ │ x │ x │ │ │ ┘ + // │ i31ref ║ x │ │ x │ x │ │ │ │ + // │ dataref ║ x │ │ x │ x │ │ │ ┘ // ├─ Compound ──╫───┼───┼───┼───┤───────┤ │ // │ Ref ║ │ x │ x │ x │ f? n? │◄┘ // │ Tuple ║ │ x │ │ x │ │ @@ -296,6 +298,7 @@ public: exn, any, eq, + data, i31, }; static constexpr BasicHeapType _last_basic_type = i31; |