Closed Bug 718505 Opened 12 years ago Closed 12 years ago

IonMonkey: LSRA: don't search for blocking intervals if the register was free

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

assign() searches active/inactive for blocking intervals, even if findBestFreeRegister found a free register. Simplest fix is to either move the splitting code to a separate function (splitBlockingIntervals or something) or to give assign an optional isFree argument.
Attached patch PatchSplinter Review
Move the splitting code from assign to splitBlockingIntervals, and call it when assigning a blocked register.

Applies on top of the patches in bug 712278.
Attachment #589022 - Flags: review?(dvander)
Attachment #589022 - Flags: review?(dvander) → review+
https://hg.mozilla.org/projects/ionmonkey/rev/7685f6b2f00d
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.