summaryrefslogtreecommitdiff
path: root/test/binaryen.js/expressionrunner.js.txt
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-03-29 13:01:12 -0700
committerGitHub <noreply@github.com>2024-03-29 13:01:12 -0700
commitb10d59d1d201506eba1aaba035e699fec849ea60 (patch)
treec4a57f8881bffc06a7d2cf74fc88c2d90f61224b /test/binaryen.js/expressionrunner.js.txt
parent88eabaaddeeff6fb8295a2e35c8e29927df04724 (diff)
downloadbinaryen-b10d59d1d201506eba1aaba035e699fec849ea60.tar.gz
binaryen-b10d59d1d201506eba1aaba035e699fec849ea60.tar.bz2
binaryen-b10d59d1d201506eba1aaba035e699fec849ea60.zip
Remove the TRAVERSE_CALLS option in the ConstantExpressionRunner (#6449)
The implementation of calls with this option was incorrect because it cleared the locals before evaluating the call arguments. The likely explanation for why this was never noticed is that there are no users of this option, especially since it is exposed in the C and JS APIs but not used internally. Rather than try to fix the implementation, just remove the option.
Diffstat (limited to 'test/binaryen.js/expressionrunner.js.txt')
-rw-r--r--test/binaryen.js/expressionrunner.js.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/binaryen.js/expressionrunner.js.txt b/test/binaryen.js/expressionrunner.js.txt
index 7d686bd28..50a46843c 100644
--- a/test/binaryen.js/expressionrunner.js.txt
+++ b/test/binaryen.js/expressionrunner.js.txt
@@ -1,3 +1,2 @@
// ExpressionRunner.Flags.Default = 0
// ExpressionRunner.Flags.PreserveSideeffects = 1
-// ExpressionRunner.Flags.TraverseCalls = 2