Open Bug 1755625 Opened 1 year ago Updated 1 year ago

call_indirect slow path should be out-of-line

Categories

(Core :: JavaScript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: lth, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Once tail calls have been implemented and exceptions have been fully fleshed out we should consider whether it's practical to move the slow path of call_indirect out-of-line. This would allow the fast path to fall-through after the tls check, see bug 1742930 comment 2.

Note that moving the code out-of-line might not be easy in the presence of exception handling, since the exception region that covers the call (esp in Ion) will now have to be split into two regions.

You need to log in before you can comment on or make changes to this bug.