Bug 144369
Summary: | FTL SwitchString slow case should use address-of-label | ||
---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 144348 | ||
Bug Blocks: |
Filip Pizlo
Currently the FTL SwitchString slow case is done by having us emit IR to switch on the branch offset that the runtime call finds in the jump table's hash map. But we could just have the IR jump to the address returned from the runtime call, and populate the hash map with addresses of labels.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |