-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix dyncall() functions on i64 parameters in WASM_BIGINT mode #19689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1 @@ | ||
| received 1,4,-1,9. | ||
| Received 42 | ||
| Received 42 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7209,8 +7209,13 @@ def test_EXPORTED_RUNTIME_METHODS(self): | |
| 'minimal_runtime': ['-sMINIMAL_RUNTIME=1'] | ||
| }) | ||
| def test_dyncall_specific(self, *args): | ||
| if self.get_setting('WASM_BIGINT') or self.get_setting('MEMORY64'): | ||
| self.skipTest('not compatible with WASM_BIGINT') | ||
| if self.get_setting('MEMORY64'): | ||
| self.skipTest('not compatible with MEMORY64') | ||
| if self.get_setting('WASM_BIGINT'): | ||
| # define DYNCALLS because this test does test calling them directly, and | ||
| # in WASM_BIGINT mode we do not enable them by default (since we can do | ||
| # more without them - we don't need to legalize) | ||
| args = list(args) + ['-sDYNCALLS=1', '-DWASM_BIGINT'] | ||
|
||
| cases = [ | ||
| ('DIRECT', []), | ||
| ('DYNAMIC_SIG', ['-sDYNCALLS=1']), | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you flip the arms of the #if so this condition is in the positive?