Use JS_NewObjectWithUniqueType when creating DOM protos

RESOLVED FIXED in mozilla15

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

(Blocks: 1 bug)

Trunk
mozilla15
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

From IRC:

<bhackett> bz: it means that TI will distinguish between that object and other
  objects with the same prototype
<bhackett> otherwise it will lump together all objects which have the same
  prototype
<bhackett> generally, we really want objects which are prototypes of other objects
  to have unique types
Created attachment 612247 [details] [diff] [review]
Make DOM prototypes more typeinference-friendly.
Attachment #612247 - Flags: review?(peterv)
Whiteboard: [need review]
Attachment #612247 - Flags: review?(peterv) → review+
https://hg.mozilla.org/projects/birch/rev/d89eb350cf4a
Flags: in-testsuite-
Whiteboard: [need review] → [need birch merge]
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/d89eb350cf4a
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Whiteboard: [need birch merge]
You need to log in before you can comment on or make changes to this bug.