-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
WASM: Using pass_array_by_data() #109
WASM: Using pass_array_by_data() #109
Conversation
As suggested here #109 (comment), I used the For every test turned on in TEST: WASM: Turn on tests, there is an equivalent test case (for example: for The test case Please, could someone possibly share what might be the issue? |
Well, |
I did this anyways and wasn't that tricky. I get the following output. So it seems now there is a bug with Output
|
872dd08
to
7f52662
Compare
The test cases I am not exactly sure why they do not work. The error I get is [CompileError: WebAssembly.instantiate(): Compiling function #8 failed: not enough arguments on the stack for local.set, expected 1 more @+481] From the above error, it seems there are not expected There is also another concern (I noticed it previously but did not think it was significant to be solved at that time):
|
According to the output in #87 (comment), I think |
Yes, working on it. One of the findings is that all the I think, they were falsely passing because of the following.
|
In
Ah I see param is just for the indication of arguments (and its not an argument itself). Ignore my comment then. |
7f52662
to
60c75e5
Compare
Please see #114. It is the |
Yes, the error |
I shared about the error here #114 (comment). |
60c75e5
to
924ee95
Compare
This is ready for review. Please possibly review and please share feedback. |
924ee95
to
2c58370
Compare
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.
Awesome, great job @Shaikh-Ubaid and @czgdp1807!
Great work by @czgdp1807 . Thank you so much for the |
This
PR
uses thepass_array_by_data()
in theWebAssembly
Backend. This enables thewasm
backend to pass arrays as arguments to functions.