Assertion failure: !pn->isDefn(), at ../frontend/ParseNode.h:1437

RESOLVED FIXED in mozilla17

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: decoder, Assigned: Benjamin)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
mozilla17
x86_64
Linux
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
The following test asserts on mozilla-central revision f528e021ceb1 (no options required):


j : var d;   
let [j] = Object.prototype.toString.call() = 1, j;
(Assignee)

Comment 1

5 years ago
Further simplified:

j : 4;
let [j] = 1, j;
(Assignee)

Comment 2

5 years ago
Created attachment 646788 [details] [diff] [review]
allow definitions with no uses to be removed
Assignee: general → bpeterson
Attachment #646788 - Flags: review?(luke)

Updated

5 years ago
Attachment #646788 - Flags: review?(luke) → review+
(Assignee)

Comment 3

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/a9502620734e
https://hg.mozilla.org/mozilla-central/rev/a9502620734e
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
(Reporter)

Comment 5

4 years ago
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/bug778268.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.