Skip to content
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

Fix convertJsFunctionToWasm when the signature has more than 122 arguments #16658

Merged
merged 5 commits into from
Apr 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update src/runtime_functions.js
  • Loading branch information
kripken authored Apr 5, 2022
commit 0c7fa14f0db41ede1064ad387c22acdfa3145632
2 changes: 1 addition & 1 deletion src/runtime_functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function uleb128Encode(n) {
assert(n < 16384);
#endif
if (n < 128) {
return [n];
return [n];
}
return [(n % 128) | 128, n >> 7];
}
Expand Down