[Webkit-unassigned] [Bug 175585] Support the 'with' keyword in FTL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 15 16:21:42 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=175585

--- Comment #3 from Keith Miller <keith_miller at apple.com> ---
Comment on attachment 318192
  --> https://bugs.webkit.org/attachment.cgi?id=318192
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=318192&action=review

> Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:5656
> -            Node* scopeObject = get(VirtualRegister(currentInstruction[2].u.operand));
> -            Node* currentScope = get(VirtualRegister(currentInstruction[3].u.operand));
> -            set(VirtualRegister(currentInstruction[1].u.operand), addToGraph(PushWithScope, scopeObject, currentScope));
> +            Node* currentScope = get(VirtualRegister(currentInstruction[2].u.operand));
> +            Node* scopeObject = get(VirtualRegister(currentInstruction[3].u.operand));
> +            set(VirtualRegister(currentInstruction[1].u.operand), addToGraph(PushWithScope, currentScope, scopeObject));

If you want to be fancy you can use my new bytecode names feature :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170815/58d7f1a4/attachment.html>


More information about the webkit-unassigned mailing list