The default bug view has changed. See this FAQ.

ALIASEDVAR Patch: Assertion failure: fp->script()->varIsAliased(index) == aliased, at jsinterp.cpp:1103

RESOLVED FIXED

Status

()

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

People

(Reporter: decoder, Assigned: luke)

Tracking

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

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
The following test asserts on mozilla-central revision d0430a04d92a with patch from bug 740259 (options -m -n):


function foo(b) {
    if (b)
      function arguments() {};
    const arguments = this, Uint32Array;
}
var a = foo(true);
(Assignee)

Comment 1

5 years ago
Arg, function statements don't noteBindingsAccessedDynamically in general, which was assumed by the 'arguments' prolog code.  Fix and test-case rolled into bug 740446; I almost already had it; just missing the critical 'var'.  Thanks again!
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.