Closed Bug 844464 Opened 11 years ago Closed 11 years ago

BaselineCompiler: Assertion failure: index >= size_t(pcstack.depth()), at jsopcode.cpp:1514

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Assigned: jandem)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase, Whiteboard: [js:t][jsbugmon:update])

Attachments

(1 file)

The following testcase asserts on baseline compiler branch revision b7e4d01b541e (run with --ion-eager):


Object = function () {};
var p = Proxy.create({});
Object.prototype.__proto__ = p;
function newFunc(x) { new Function(x)(); };
newFunc('\
function f(v, value) {\
    "failed: " + v + " " + value\
}\
f({}, false);\
f(Object.prototype, false);\
');
Attached patch PatchSplinter Review
The decompiler strikes again, string + object can throw so we have to ensure these values are on the stack.
Assignee: general → jdemooij
Status: NEW → ASSIGNED
Attachment #717874 - Flags: review?(kvijayan)
Attachment #717874 - Flags: review?(kvijayan) → review+
Whiteboard: [jsbugmon:update] → [js:t][jsbugmon:update]
https://hg.mozilla.org/projects/ionmonkey/rev/d363079a1beb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: