• arv's avatar
    [es6] Super call in arrows and eval · 4b8051a0
    arv authored
    This splits the SuperReference AST node into SuperPropertyReference and
    SuperCallReference. The super call reference node consists of three
    unresolved vars to this, new.target and this_function. These gets
    declared when the right function is entered and if it is in use. The
    variables gets assigned in FullCodeGenerator::Generate.
    
    This is a revert of the revert 88b1c917
    
    BUG=v8:3768
    LOG=N
    R=wingo@igalia.com, adamk@chromium.org
    
    Review URL: https://codereview.chromium.org/1168513004
    
    Cr-Commit-Position: refs/heads/master@{#28769}
    4b8051a0
full-codegen.cc 50.5 KB