summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2019-07-23 17:12:22 -0700
committerGitHub <noreply@github.com>2019-07-23 17:12:22 -0700
commita2741b360b444a26cd87327a3d60a601bb33119f (patch)
treee7ea331a4236f33c4f8e28b8ef30a8a09ab29740 /scripts
parent0beba8aad60e4bdadcd3fc3e5126e7befb7b7994 (diff)
downloadbinaryen-a2741b360b444a26cd87327a3d60a601bb33119f.tar.gz
binaryen-a2741b360b444a26cd87327a3d60a601bb33119f.tar.bz2
binaryen-a2741b360b444a26cd87327a3d60a601bb33119f.zip
Finalize tail call support (#2246)
Adds tail call support to fuzzer and makes small changes to handle return calls in multiple utilities and passes. Makes larger changes to DAE and inlining passes to properly handle tail calls.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fuzz_opt.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py
index 7c4a87953..c84d9a6af 100644
--- a/scripts/fuzz_opt.py
+++ b/scripts/fuzz_opt.py
@@ -34,7 +34,6 @@ NANS = True
# simd: known issues with d8
# atomics, bulk memory: doesn't work in wasm2js
# truncsat: https://github.com/WebAssembly/binaryen/issues/2198
-# tail-call: WIP
CONSTANT_FEATURE_OPTS = ['--all-features']
# possible feature options that are sometimes passed to the tools.
@@ -298,7 +297,7 @@ class Wasm2JS(TestCaseHandler):
return out
def can_run_on_feature_opts(self, feature_opts):
- return all([x in feature_opts for x in ['--disable-exception-handling', '--disable-simd', '--disable-threads', '--disable-bulk-memory', '--disable-nontrapping-float-to-int']])
+ return all([x in feature_opts for x in ['--disable-exception-handling', '--disable-simd', '--disable-threads', '--disable-bulk-memory', '--disable-nontrapping-float-to-int', '--disable-tail-call']])
class Asyncify(TestCaseHandler):
@@ -343,7 +342,7 @@ class Asyncify(TestCaseHandler):
compare(before, after_asyncify, 'Asyncify (before/after_asyncify)')
def can_run_on_feature_opts(self, feature_opts):
- return all([x in feature_opts for x in ['--disable-exception-handling', '--disable-simd']])
+ return all([x in feature_opts for x in ['--disable-exception-handling', '--disable-simd', '--disable-tail-call']])
# The global list of all test case handlers