Closed
Bug 513139
Opened 15 years ago
Closed 15 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•15 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•15 years ago
|
||
Attachment #397163 -
Attachment is obsolete: true
Assignee | ||
Comment 4•15 years ago
|
||
fixed regexp jit
Attachment #397171 -
Attachment is obsolete: true
Assignee | ||
Comment 5•15 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•15 years ago
|
||
Attachment #397177 -
Attachment is obsolete: true
Updated•15 years ago
|
Attachment #397180 -
Flags: review+
Comment 7•15 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•15 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•15 years ago
|
||
Good. I'm happy too, less code is a win!
Assignee | ||
Comment 10•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/1e581a31c017
Whiteboard: fixed-in-tracemonkey
Comment 11•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/1e581a31c017
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 12•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/21d142b4c608
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
•