RESOLVED FIXED 101276
Prototype chain caching should check that the path from the base object to the slot base involves prototype hops only
https://bugs.webkit.org/show_bug.cgi?id=101276
Summary Prototype chain caching should check that the path from the base object to th...
Filip Pizlo
Reported 2012-11-05 16:32:57 PST
Patch forthcoming.
Attachments
the patch (25.27 KB, patch)
2012-11-05 16:36 PST, Filip Pizlo
barraclough: review+
Filip Pizlo
Comment 1 2012-11-05 16:36:40 PST
Created attachment 172435 [details] the patch
Gavin Barraclough
Comment 2 2012-11-05 17:15:40 PST
Comment on attachment 172435 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=172435&action=review > Source/JavaScriptCore/runtime/Operations.h:309 > + if (cell->inherits(&JSProxy::s_info)) You could use isProxy here if you like.
Filip Pizlo
Comment 3 2012-11-05 17:52:22 PST
(In reply to comment #2) > (From update of attachment 172435 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=172435&action=review > > > Source/JavaScriptCore/runtime/Operations.h:309 > > + if (cell->inherits(&JSProxy::s_info)) > > You could use isProxy here if you like. Good point. I changed it to use isProxy(), and moved isProxy() to JSCell as per our discussions.
Filip Pizlo
Comment 4 2012-11-05 17:54:03 PST
Note You need to log in before you can comment on or make changes to this bug.