Closed Bug 1647242 Opened 4 years ago Closed 4 years ago

Tidy up and optimize some WarpOracle code

Categories

(Core :: JavaScript Engine: JIT, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

No description provided.
Severity: normal → N/A

A WarpScriptSnapshot will always be tied to a single JSScript and WarpScriptSnapshot.

This is preparation for the next patch but also makes it easier to support
inlining in the future.

Similar to BaselineCompiler, we can walk over the ICEntry list linearly instead of
doing a binary search for each pc.

Depends on D80432

Attachment #9158141 - Attachment description: Bug 1647242 part 1 - Add WarpScriptSnapshot for script-specific WarpOracle methods. r?iain! → Bug 1647242 part 1 - Add WarpScriptOracle for script-specific WarpOracle methods. r?iain!
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff1fe2ccfc80 part 1 - Add WarpScriptOracle for script-specific WarpOracle methods. r=iain https://hg.mozilla.org/integration/autoland/rev/8d1857326af7 part 2 - Optimize ICEntry lookup in WarpScriptOracle. r=iain
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: