Closed Bug 718505 Opened 14 years ago Closed 14 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 Patch — — Splinter 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+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: