Closed
Bug 464978
Opened 18 years ago
Closed 18 years ago
TM: hang with "[] + null"
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.9.1b2
People
(Reporter: jruderman, Assigned: brendan)
References
Details
(4 keywords)
Attachments
(2 files, 2 obsolete files)
|
2.30 KB,
text/plain
|
Details | |
|
6.72 KB,
patch
|
brendan
:
review+
sayrer
:
approval1.9.1b2+
|
Details | Diff | Splinter Review |
This hangs ./js -j:
for (let j = 0; j < 2; ++j) { [] + null; }
Looping in an imacro, pc is not being advanced.
bug 464911 and bug 464686 might be from this
Assignee: general → brendan
| Assignee | ||
Comment 2•18 years ago
|
||
This should block b2. Fallout from imacros, late in the evolution of that patch.
/be
Blocks: imacros
Status: NEW → ASSIGNED
Flags: blocking1.9.1?
OS: Mac OS X → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1b2
Updated•18 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
| Assignee | ||
Comment 3•18 years ago
|
||
Need one more bit of state to communicate back, from the record_* method that calls an imacro to the RECORD_ARGS macro that redirects regs.pc, to the imacro's entry point, the fact that the imacro is starting.
Then when the same opcode (one compile-time-specialized via the JSOP_IS_BINARY(x) and other x == JSOP_* tests), JSOP_ADD in the testcase here, is included in the body of the imacro, we won't redirect again to the entry point and iloop.
/be
Attachment #348291 -
Flags: review?(danderson)
Updated•18 years ago
|
Attachment #348291 -
Flags: review?(danderson) → review+
| Assignee | ||
Comment 4•18 years ago
|
||
Simplified imacro-start condition, added comment.
/be
Attachment #348291 -
Attachment is obsolete: true
Attachment #348295 -
Flags: review+
| Assignee | ||
Comment 5•18 years ago
|
||
Comment on attachment 348295 [details] [diff] [review]
patch to commit
This has to go into b2. Too much ilooping (hard, no watchdog) sad Firefox without.
/be
Attachment #348295 -
Flags: approval1.9.1b2?
| Assignee | ||
Comment 7•18 years ago
|
||
Fixed in tm:
http://hg.mozilla.org/tracemonkey/rev/473d1ce28a3b
/be
No longer blocks: 465063
| Assignee | ||
Comment 8•18 years ago
|
||
A few tweaks to comments and avoiding else after return.
/be
Attachment #348295 -
Attachment is obsolete: true
Attachment #348356 -
Flags: review+
Attachment #348295 -
Flags: approval1.9.1b2?
| Assignee | ||
Comment 9•18 years ago
|
||
Comment on attachment 348356 [details] [diff] [review]
patch I committed for the record
I diff'ed tm and m-c, and it would be best to sync 'em soon. Just asking for individual patch approval, still favor sync'ing to avoid doing things by hand and risking PEBKAC problems.
/be
Attachment #348356 -
Flags: approval1.9.1b2?
Updated•18 years ago
|
Attachment #348356 -
Flags: approval1.9.1b2? → approval1.9.1b2+
Comment 10•18 years ago
|
||
Comment on attachment 348356 [details] [diff] [review]
patch I committed for the record
yeah, I'll try to sync at an opportune time.
| Assignee | ||
Comment 11•18 years ago
|
||
Thanks to sayrer for syncing to m-c.
http://hg.mozilla.org/tracemonkey/rev/473d1ce28a3b
http://hg.mozilla.org/mozilla-central/rev/473d1ce28a3b
/be
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 12•17 years ago
|
||
test landed http://hg.mozilla.org/mozilla-central/rev/4a446182cc44 and cvs
Flags: in-testsuite+
Flags: in-litmus-
Updated•17 years ago
|
Keywords: fixed1.9.1
Comment 13•17 years ago
|
||
v 1.9.1, 1.9.2
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•