[Webkit-unassigned] [Bug 16573] Remove redundant calls to setPrototype in WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 1 16:40:19 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16573





------- Comment #5 from ggaren at apple.com  2008-01-01 16:40 PDT -------
I think that passing the prototype to the outermost constructor would be a neat
solution.

To answer Maciej's implicit question, there *is* a GC hazard. If GC ran, the
new object would be caught with its _prop and _proto data members
uninitialized. When it tried to mark those members, the weasel would go pop.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list