summaryrefslogtreecommitdiff
path: root/test/unit/test_features.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-11-24 12:36:11 -0800
committerGitHub <noreply@github.com>2020-11-24 12:36:11 -0800
commit78ccc1976bac069ae65b2ec227e8c2c515a02801 (patch)
treeb875343fa47a62a44db4370811080dc963a91233 /test/unit/test_features.py
parentcecff82aff317c3132f80a764dba163bcd852a78 (diff)
downloadbinaryen-78ccc1976bac069ae65b2ec227e8c2c515a02801.tar.gz
binaryen-78ccc1976bac069ae65b2ec227e8c2c515a02801.tar.bz2
binaryen-78ccc1976bac069ae65b2ec227e8c2c515a02801.zip
[TypedFunctionReferences] Implement call_ref (#3396)
Includes minimal support in various passes. Also includes actual optimization work in Directize, which was easy to add. Almost has fuzzer support, but the actual makeCallRef is just a stub so far. Includes s-parser support for parsing typed function references types.
Diffstat (limited to 'test/unit/test_features.py')
-rw-r--r--test/unit/test_features.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_features.py b/test/unit/test_features.py
index 889b149b1..01ea4c754 100644
--- a/test/unit/test_features.py
+++ b/test/unit/test_features.py
@@ -153,7 +153,7 @@ class FeatureValidationTest(utils.BinaryenTestCase):
)
)
'''
- self.check_tail_call(module, 'return_call requires tail calls to be enabled')
+ self.check_tail_call(module, 'return_call* requires tail calls to be enabled')
def test_tail_call_indirect(self):
module = '''
@@ -167,7 +167,7 @@ class FeatureValidationTest(utils.BinaryenTestCase):
)
)
'''
- self.check_tail_call(module, 'return_call_indirect requires tail calls to be enabled')
+ self.check_tail_call(module, 'return_call* requires tail calls to be enabled')
def test_reference_types_externref(self):
module = '''