<rdar://problem/34814024>
Created attachment 324074 [details] proposed patch.
Comment on attachment 324074 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=324074&action=review r=me, but I suggest a name change. > Source/JavaScriptCore/dfg/DFGGraph.h:231 > + void registerAndWatchStructure(Structure*); Structures have multiple watchpoint sets, and we're adding new ones all the time. Saam's poly proto adds more. So, I would change this name to be more descriptive. Maybe: registerStructureAndWatchTransition.
(In reply to Filip Pizlo from comment #2) > Comment on attachment 324074 [details] > proposed patch. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=324074&action=review > > r=me, but I suggest a name change. > > > Source/JavaScriptCore/dfg/DFGGraph.h:231 > > + void registerAndWatchStructure(Structure*); > > Structures have multiple watchpoint sets, and we're adding new ones all the > time. Saam's poly proto adds more. > > So, I would change this name to be more descriptive. Maybe: > registerStructureAndWatchTransition. +1 for this name
Created attachment 324125 [details] patch for landing. Thanks for the reviews. I've applied the requested rename. Will land shortly.
Landed in r223614: <http://trac.webkit.org/r223614>.