Bug 164353
| Summary: | WebAssembly: Function Parser should have a better API for handling stacks. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Keith Miller <keith_miller> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | jfbastien |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Keith Miller
...
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Keith Miller
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.