summaryrefslogtreecommitdiff
path: root/src/wasm-delegations-fields.def
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-07-07 10:32:57 -0700
committerGitHub <noreply@github.com>2022-07-07 10:32:57 -0700
commitdc73f07807400eb48b8c4bc173bae37f188fc90b (patch)
treeed9672cb7847c6d9d33657151dc76fa4cb519ff3 /src/wasm-delegations-fields.def
parent876638f8fb5bfc8b264eddc6c0c0d54ed40d0095 (diff)
downloadbinaryen-dc73f07807400eb48b8c4bc173bae37f188fc90b.tar.gz
binaryen-dc73f07807400eb48b8c4bc173bae37f188fc90b.tar.bz2
binaryen-dc73f07807400eb48b8c4bc173bae37f188fc90b.zip
[Strings] string.measure (#4775)
Diffstat (limited to 'src/wasm-delegations-fields.def')
-rw-r--r--src/wasm-delegations-fields.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wasm-delegations-fields.def b/src/wasm-delegations-fields.def
index a7f39c3c7..a08a887a4 100644
--- a/src/wasm-delegations-fields.def
+++ b/src/wasm-delegations-fields.def
@@ -727,6 +727,13 @@ switch (DELEGATE_ID) {
DELEGATE_END(StringConst);
break;
}
+ case Expression::Id::StringMeasureId: {
+ DELEGATE_START(StringMeasure);
+ DELEGATE_FIELD_INT(StringMeasure, op);
+ DELEGATE_FIELD_CHILD(StringMeasure, ref);
+ DELEGATE_END(StringMeasure);
+ break;
+ }
}
#undef DELEGATE_ID