• mbrandy's avatar
    PPC: [es6] Make new.target work in functions · 57c5fd7e
    mbrandy authored
    Port 7a63bf77
    
    Original commit message:
    This makes new.target work in [[Call]] and [[Construct]] of ordinary
    functions.
    
    We achieve this by introducing a new construct stub for functions that
    uses the new.target variable. The construct stub pushes the original
    constructor just above the receiver in the construct frame.
    
    R=arv@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1213303002
    
    Cr-Commit-Position: refs/heads/master@{#29360}
    57c5fd7e
builtins-ppc.cc 64 KB