Closed
Bug 766064
Opened 13 years ago
Closed 13 years ago
Assertion failure: bce->sc->funIsHeavyweight(), at frontend/BytecodeEmitter.cpp:886
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: decoder, Assigned: luke)
Details
(Keywords: assertion, testcase, Whiteboard: [js:t][jsbugmon:update])
Attachments
(1 file)
1.48 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
The following test asserts on mozilla-central revision 19bfe36cace8 (options -m -n -a):
function loop( p = 1, actual = this) {
for (var i = 0;
(function() {
actual += this.assertEq + ' toString, ';
});
++i) { }
}
![]() |
Assignee | |
Comment 1•13 years ago
|
||
Oops, the assert is overly conservative: the heavyweight flag can be set later in rare cases, but the only important thing is that it gets set.
On a side note, the way the heavyweight flag gets set (and closed vars get noted) is pretty awkward.
Updated•13 years ago
|
Whiteboard: js-triage-needed [jsbugmon:update] → [js:t][jsbugmon:update]
Updated•13 years ago
|
Attachment #634475 -
Flags: review?(jorendorff) → review+
![]() |
Assignee | |
Comment 2•13 years ago
|
||
Target Milestone: --- → mozilla16
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•12 years ago
|
||
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/testBug766064.js.
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•