summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-04-28 10:41:13 -0700
committerGitHub <noreply@github.com>2020-04-28 10:41:13 -0700
commit1d54be44e4ea261a457ea56bc9c444161ff4d89b (patch)
tree0505e08853a573f1bb746b1204a3c66c6c2f2c5d /scripts
parentd8f9e9635ca7ca31d3dc02f3030c9fdaa453f967 (diff)
downloadbinaryen-1d54be44e4ea261a457ea56bc9c444161ff4d89b.tar.gz
binaryen-1d54be44e4ea261a457ea56bc9c444161ff4d89b.tar.bz2
binaryen-1d54be44e4ea261a457ea56bc9c444161ff4d89b.zip
Remove wasm2c2wasm can_compare_self (#2814)
Just like the parent wasm2c, with NaNs don't compare to self before and after optimizations. The binaryen optimizer does different things than the LLVM optimizer there, and NaN bits can change.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/fuzz_opt.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py
index 7efb2043a..94f8d955f 100755
--- a/scripts/fuzz_opt.py
+++ b/scripts/fuzz_opt.py
@@ -402,9 +402,6 @@ class CompareVMs(TestCaseHandler):
def can_run(self):
return super(Wasm2C2Wasm, self).can_run() and self.has_emcc
- def can_compare_to_self(self):
- return True
-
def can_compare_to_others(self):
# NaNs can differ from wasm VMs
return not NANS