summaryrefslogtreecommitdiff
path: root/src/ir/effects.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-07-06 08:48:12 -0700
committerGitHub <noreply@github.com>2022-07-06 08:48:12 -0700
commit876638f8fb5bfc8b264eddc6c0c0d54ed40d0095 (patch)
tree40138beab484617d5b3af474f8e1bd485ffc603e /src/ir/effects.h
parentb69d3a8fa0d6d7588811ef92067a48eed576e03f (diff)
downloadbinaryen-876638f8fb5bfc8b264eddc6c0c0d54ed40d0095.tar.gz
binaryen-876638f8fb5bfc8b264eddc6c0c0d54ed40d0095.tar.bz2
binaryen-876638f8fb5bfc8b264eddc6c0c0d54ed40d0095.zip
[Strings] Add string.const (#4768)
This is more work than a typical instruction because it also adds a new section: all the (string.const "foo") strings are put in a new "strings" section in the binary, and the instructions refer to them by index.
Diffstat (limited to 'src/ir/effects.h')
-rw-r--r--src/ir/effects.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/effects.h b/src/ir/effects.h
index d97b01a36..f023b547a 100644
--- a/src/ir/effects.h
+++ b/src/ir/effects.h
@@ -733,6 +733,7 @@ private:
// cycle may be needed in some cases.
}
void visitStringNew(StringNew* curr) {}
+ void visitStringConst(StringConst* curr) {}
};
public: