TI: Assertion failure: !obj->isPackedDenseArray(), at ../jsarray.cpp:2276

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: jandem, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
$ ./js -n -a
js> [1,2,,].pop()
Assertion failure: !obj->isPackedDenseArray(), at ../jsarray.cpp:2276

This assert was added in revision 9f0cb8d7da58.
Ah, that assert is totally bogus. Whenever we pop an entry off the initialized slots of a packed array, we (unnecessarily) mark the array as not packed.  This can be fixed in the future should it become an issue.

http://hg.mozilla.org/projects/jaegermonkey/rev/68124edcaa4f
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.