Last Comment Bug 742422 - Use JS_NewObjectWithUniqueType when creating DOM protos
: Use JS_NewObjectWithUniqueType when creating DOM protos
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: x86 Mac OS X
: -- normal (vote)
: mozilla15
Assigned To: Boris Zbarsky [:bz] (TPAC)
:
Mentors:
Depends on:
Blocks: ParisBindings
  Show dependency treegraph
 
Reported: 2012-04-04 10:03 PDT by Boris Zbarsky [:bz] (TPAC)
Modified: 2012-04-24 17:59 PDT (History)
3 users (show)
bzbarsky: in‑testsuite-
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Make DOM prototypes more typeinference-friendly. (1.10 KB, patch)
2012-04-04 10:22 PDT, Boris Zbarsky [:bz] (TPAC)
peterv: review+
Details | Diff | Splinter Review

Description Boris Zbarsky [:bz] (TPAC) 2012-04-04 10:03:37 PDT
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
Comment 1 Boris Zbarsky [:bz] (TPAC) 2012-04-04 10:22:04 PDT
Created attachment 612247 [details] [diff] [review]
Make DOM prototypes more typeinference-friendly.
Comment 2 Boris Zbarsky [:bz] (TPAC) 2012-04-18 09:14:06 PDT
https://hg.mozilla.org/projects/birch/rev/d89eb350cf4a

Note You need to log in before you can comment on or make changes to this bug.