Closed Bug 1501316 Opened 2 years ago Closed 2 years ago
Switch handling in Baseline to no longer use an IC
47 bytes, text/x-phabricator-request
|Details | Review|
Currently the TableSwitchIC is doing what we would otherwise do directly in the mainline code. It seems this was done for memory savings. Another approach would be to treat this like our other helper-stub / trampolines. At the same time, we should look at moving the address tables to the BaselineScript itself since they should be well known during compile. This brings them more aligned with our yeildAndAwait table.
Assignee: tcampbell → jdemooij
Status: NEW → ASSIGNED
To not affect Baseline code size too much, this adds a trampoline for the double-to-int32 Value conversion. Depends on D11019
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/7283b13fd2d2 Remove Baseline's TableSwitch IC, use resume entries instead. r=tcampbell
You need to log in before you can comment on or make changes to this bug.