Closed
Bug 515313
Opened 16 years ago
Closed 16 years ago
nanojit: finish killing reservations
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
(Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey, fixed-in-tamarin)
Attachments
(1 file)
|
37.87 KB,
patch
|
edwsmith
:
review+
|
Details | Diff | Splinter Review |
Bug 514349 started killing reservations, mostly removing them from Assembler.cpp and the i386 backend. Bug 515309, bug 515310, bug 515311, and bug 515312 are for each of the other backends. Once they're all done, the final remnants can be removed from Assembler.{cpp,h} and LIR.{cpp,h}.
| Assignee | ||
Comment 1•16 years ago
|
||
Nb: we see patterns like this a lot in the back-ends:
Register sr = ( lhs->isUnusedOrHasUnknownReg()
? findRegFor(lhs, FpRegs)
: lhs->getReg() );
with some variation on the ?-branch. It might be worth factoring these out into a function.
| Assignee | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> Nb: we see patterns like this a lot in the back-ends:
>
> Register sr = ( lhs->isUnusedOrHasUnknownReg()
> ? findRegFor(lhs, FpRegs)
> : lhs->getReg() );
>
> with some variation on the ?-branch. It might be worth factoring these out
> into a function.
Bug 516348 covers the most common of these cases.
Depends on: 516348
| Assignee | ||
Comment 3•16 years ago
|
||
Here's a patch. Nothing surprising, just finishes off removing the Reservation type.
Attachment #413985 -
Flags: review?(edwsmith)
| Assignee | ||
Comment 4•16 years ago
|
||
BTW, I tested the patch on the TR try server, it passed all platforms.
Updated•16 years ago
|
Attachment #413985 -
Flags: review?(edwsmith) → review+
| Assignee | ||
Comment 5•16 years ago
|
||
hg.mozilla.org/projects/nanojit-central/rev/1b6cb808f304
Whiteboard: fixed-in-nanojit
http://hg.mozilla.org/tracemonkey/rev/f34d86c36e47
http://hg.mozilla.org/tamarin-redux/rev/4f97e229b335
Whiteboard: fixed-in-nanojit → fixed-in-nanojit, fixed-in-tracemonkey, fixed-in-tamarin
| Assignee | ||
Comment 7•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•