[Webkit-unassigned] [Bug 149338] [ES6] "super" and "this" should be lexically bound inside an arrow function and should live in a JSLexicalEnvironment

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 8 10:24:49 PST 2015


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

GSkachkov <gskachkov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #266850|1                           |0
        is obsolete|                            |

--- Comment #150 from GSkachkov <gskachkov at gmail.com> ---
Comment on attachment 266850
  --> https://bugs.webkit.org/attachment.cgi?id=266850
Patch

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

>> Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:4572
>> +            }
> 
> Why not just "NEXT_OPCODE(opcodeID)" ?

Hmm, I couldn't build without curly braces. I think because  NEXT_OPCODE is two line macros, and this leads to syntax error
#define NEXT_OPCODE(name) \
   m_currentIndex += OPCODE_LENGTH(name); \
   continue

>> Source/JavaScriptCore/llint/LowLevelInterpreter64.asm:2288
>> +
> 
> Revert this please.

Done

>> Source/JavaScriptCore/runtime/Executable.h:659
>> +    // TODO:Think about avoid using isArrowFunction veriabl
> 
> Style: I don't think we need a variable.
> WebKit style handles this is with a FIXME and not a TODO.
> Also, the best FIXMEs are ones with bug numbers.
> Anyways, I think for this patch this can just be removed.

Removed

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151208/9681c02c/attachment.html>


More information about the webkit-unassigned mailing list