[webkit-reviews] review granted: [Bug 179821] Update DFGSafeToExecute to be aware that ArrayPush is now a varargs node : [Attachment 327179] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 26 17:30:42 PST 2017
Saam Barati <sbarati at apple.com> has granted review:
Bug 179821: Update DFGSafeToExecute to be aware that ArrayPush is now a varargs
node
https://bugs.webkit.org/show_bug.cgi?id=179821
Attachment 327179: Patch
https://bugs.webkit.org/attachment.cgi?id=327179&action=review
--- Comment #8 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 327179
--> https://bugs.webkit.org/attachment.cgi?id=327179
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=327179&action=review
>> Source/JavaScriptCore/dfg/DFGSafeToExecute.h:474
>> + return node->arrayMode().alreadyChecked(graph, node,
state.forNode(graph.varArgChild(node, 1)));
>
> varArgChild(node, 1) is not equivalent to child1(). varArgChild(node, 0) is
equivalent to child1() (ah, DFG naming).
> You should make sure this is doing what you expect.
Ignore me. This looks correct since the second varargs child is the array!
Sorry for the noise.
More information about the webkit-reviews
mailing list