WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
164353
WebAssembly: Function Parser should have a better API for handling stacks.
https://bugs.webkit.org/show_bug.cgi?id=164353
Summary
WebAssembly: Function Parser should have a better API for handling stacks.
Keith Miller
Reported
2016-11-02 17:46:03 PDT
...
Attachments
Add attachment
proposed patch, testcase, etc.
Keith Miller
Comment 1
2016-11-02 17:49:46 PDT
I guess I should actually describe this a bit. The current API sometimes has the context return the value it should put on the stack then puts the value on the stack. In other cases the API passes a reference to the entire stack and expects the callee to fix up the stack as needed. We do the latter in the case of ending a block since if we have an if-then-else we need to ensure B3IRGenerator can get and set a variable with the contents of the result.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug