• chunyang.dai's avatar
    X87: [es6] Make new.target work in functions. · b913e2a9
    chunyang.dai authored
    port 7a63bf77 (r29358).
    
    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.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1217083004
    
    Cr-Commit-Position: refs/heads/master@{#29413}
    b913e2a9
builtins-x87.cc 58.3 KB