Bug 144369 - FTL SwitchString slow case should use address-of-label
Summary: FTL SwitchString slow case should use address-of-label
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 144348
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-28 18:35 PDT by Filip Pizlo
Modified: 2015-04-28 18:35 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2015-04-28 18:35:24 PDT
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.