Closed Bug 844464 Opened 13 years ago Closed 13 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

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 Patch — — Splinter 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]
Status: ASSIGNED → RESOLVED
Closed: 13 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: