summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-03-17 14:55:50 -0700
committerGitHub <noreply@github.com>2020-03-17 14:55:50 -0700
commit595d8a3f360b7642a82459ea0ed0a825b0dd7043 (patch)
tree8f1fbc8ff118daeda686bb60f79989a841288773 /src/wasm-interpreter.h
parent38a795c48e269b92a1e6c54682a436ce23339a8d (diff)
downloadbinaryen-595d8a3f360b7642a82459ea0ed0a825b0dd7043.tar.gz
binaryen-595d8a3f360b7642a82459ea0ed0a825b0dd7043.tar.bz2
binaryen-595d8a3f360b7642a82459ea0ed0a825b0dd7043.zip
makeConstExpression => makeConstantExpression (#2698)
The meaning we intend is "constant", and not the "Const" node (which contains a number). So I think the full name is less confusing.
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index 5051385a2..357cc3979 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -70,7 +70,7 @@ public:
Expression* getConstExpression(Module& module) {
assert(values.size() > 0);
Builder builder(module);
- return builder.makeConstExpression(values);
+ return builder.makeConstantExpression(values);
}
bool breaking() { return breakTo.is(); }