Closed
Bug 663910
Opened 14 years ago
Closed 14 years ago
TI: Assertion failure: obj, at ../jsval.h:720
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: decoder, Unassigned)
References
Details
(Keywords: assertion, testcase)
The following testcase asserts on TI revision f59a6cabfbd4 (run with -j -m -n -a), tested on 64 bit:
var otherGlobalSameCompartment = newGlobal("same-compartment");
eval = otherGlobalSameCompartment.eval;
doesNotNeedParens(1, "if (xx) { }");
needParens(2, "if (1, xx) { }");
function doesNotNeedParens(section, pat) {
try {
f = new Function
} catch (e) {}
roundTripTest(section, f)
}
function needParens(section, pat, exp) {
var f, ft;
roundTripTest(section, f, exp)
}
function roundTripTest(section, f, exp) {
uf = "" + f
var euf;
try {
euf = eval("(" + uf + ")")
} catch (e) {} + euf
}
Comment 1•14 years ago
|
||
There was a path in the Eval stub (direct eval not actually calling the original eval function) where the result was not being monitored.
http://hg.mozilla.org/projects/jaegermonkey/rev/7eec66369bfa
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 2•13 years ago
|
||
A testcase for this bug was automatically identified at js/src/jit-test/tests/jaeger/bug663910.js.
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•