Closed
Bug 513139
Opened 16 years ago
Closed 16 years ago
TM: remove savedRegs hack from nanojit
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
People
(Reporter: gal, Assigned: gal)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 3 obsolete files)
24.36 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•16 years ago
|
||
Assignee: general → gal
breaking test case - stack misalignment
function stringConvert()
{
var a;
for (var i = 0; i < 10; i++) {
a = "5" & "7";
}
return a.toString();
}
stringConvert();
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #397163 -
Attachment is obsolete: true
Assignee | ||
Comment 4•16 years ago
|
||
fixed regexp jit
Attachment #397171 -
Attachment is obsolete: true
Assignee | ||
Comment 5•16 years ago
|
||
The patch also removes LIR_loop. We use LIR_j to jump back to the loop header on trace, and LIR_x for branch traces to get back to the root fragment. The latter should be optimized further.
Assignee | ||
Comment 6•16 years ago
|
||
Attachment #397177 -
Attachment is obsolete: true
![]() |
||
Updated•16 years ago
|
Attachment #397180 -
Flags: review+
![]() |
||
Comment 7•16 years ago
|
||
Comment on attachment 397180 [details] [diff] [review]
patch
> /* guards */
>-OPDEF(loop, 17, 0, Op2) // loop fragment
>+OPDEF(unused17, 17, 0, None) // loop fragment
Nit: remove comment.
Will this play nicely with Tamarin?
Assignee | ||
Comment 8•16 years ago
|
||
Thanks for the nit. Tamarin doesn't use loop. They don't use the implicit saveRegs hack either. They will be happy both are gone.
![]() |
||
Comment 9•16 years ago
|
||
Good. I'm happy too, less code is a win!
Assignee | ||
Comment 10•16 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 11•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 12•16 years ago
|
||
status1.9.2:
--- → beta1-fixed
Flags: wanted1.9.2+
You need to log in
before you can comment on or make changes to this bug.
Description
•