Closed Bug 858705 Opened 10 years ago Closed 10 years ago

array constructors ought to actually use the newKind parameter

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: Benjamin, Assigned: Benjamin)

Details

Attachments

(1 file)

NewDenseEmptyArray and friends take a "newKind" parameter but don't actually use it.
Attachment #733994 - Flags: review?(terrence)
Comment on attachment 733994 [details] [diff] [review]
pass newKind to NewArray

Review of attachment 733994 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for the catch! I guess we really don't have any singleton arrays or GGC would be falling over hard because of this.
Attachment #733994 - Flags: review?(terrence) → review+
https://hg.mozilla.org/mozilla-central/rev/768af8d8fad4
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.