summaryrefslogtreecommitdiff
path: root/src/ir/iteration.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-09-23 12:36:17 -0700
committerGitHub <noreply@github.com>2021-09-23 12:36:17 -0700
commit675295888609a688ee81dc9ad2024169da5aa7ed (patch)
tree796dc5d72867300f97ab234e40729ae6b7db2875 /src/ir/iteration.h
parent6d46b436b54bdae040a64bd9dafb01a7f53a8233 (diff)
downloadbinaryen-675295888609a688ee81dc9ad2024169da5aa7ed.tar.gz
binaryen-675295888609a688ee81dc9ad2024169da5aa7ed.tar.bz2
binaryen-675295888609a688ee81dc9ad2024169da5aa7ed.zip
[Wasm GC] Implement static (rtt-free) StructNew, ArrayNew, ArrayInit (#4172)
See #4149 This modifies the test added in #4163 which used static casts on dynamically-created structs and arrays. That was technically not valid (as we won't want users to "mix" the two forms). This makes that test 100% static, which both fixes the test and gives test coverage to the new instructions added here.
Diffstat (limited to 'src/ir/iteration.h')
-rw-r--r--src/ir/iteration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/iteration.h b/src/ir/iteration.h
index 3de6d1435..19bc44af1 100644
--- a/src/ir/iteration.h
+++ b/src/ir/iteration.h
@@ -98,6 +98,7 @@ public:
#define DELEGATE_FIELD_SCOPE_NAME_USE_VECTOR(id, name)
#define DELEGATE_FIELD_SIGNATURE(id, name)
#define DELEGATE_FIELD_TYPE(id, name)
+#define DELEGATE_FIELD_HEAPTYPE(id, name)
#define DELEGATE_FIELD_ADDRESS(id, name)
#include "wasm-delegations-fields.def"