diff options
author | Yury Delendik <ydelendik@mozilla.com> | 2019-09-12 07:35:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-12 07:35:32 -0500 |
commit | 99bb044a796b3c4bd3c292c11092de0e21d59ea9 (patch) | |
tree | d7ef95ff8f91856753ed944401dfaffc375670cb /src/ir.h | |
parent | 3e938b7a10cc6738037dce5f18675cc5d267992d (diff) | |
download | wabt-99bb044a796b3c4bd3c292c11092de0e21d59ea9.tar.gz wabt-99bb044a796b3c4bd3c292c11092de0e21d59ea9.tar.bz2 wabt-99bb044a796b3c4bd3c292c11092de0e21d59ea9.zip |
Add ref.* to the (invoke) (#1156)
Diffstat (limited to 'src/ir.h')
-rw-r--r-- | src/ir.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -101,6 +101,7 @@ struct Const { uint64_t u64; uint32_t f32_bits; uint64_t f64_bits; + uintptr_t ref_bits; v128 v128_bits; }; @@ -110,12 +111,14 @@ struct Const { struct I64Tag {}; struct F32Tag {}; struct F64Tag {}; + struct RefTag {}; struct V128Tag {}; Const(I32Tag, uint32_t val = 0, const Location& loc = Location()); Const(I64Tag, uint64_t val = 0, const Location& loc = Location()); Const(F32Tag, uint32_t val = 0, const Location& loc = Location()); Const(F64Tag, uint64_t val = 0, const Location& loc = Location()); + Const(RefTag, uintptr_t val = 0, const Location& loc = Location()); Const(V128Tag, v128 val = {{0, 0, 0, 0}}, const Location& loc = Location()); }; typedef std::vector<Const> ConstVector; |