• chunyang.dai's avatar
    X87: [builtins] Add support for NewTarget to Execution::New. · 5ced12c1
    chunyang.dai authored
    port 1dfac69f (r30857).
    
    original commit message:
    
        Introduce new builtins Construct and ConstructFunction (in line
        with the Call and CallFunction builtins that we already have) as
        proper bottleneck for Construct and [[Construct]] on JSFunctions.
        Use these builtins to support passing NewTarget from C++ to
        JavaScript land.
    
        Long-term we want the CallConstructStub to be used for
        gathering feedback on entry to construction chain (i.e. the
        initial new Foo), and use the Construct builtins to do the
        actual work inside the construction chain (i.e. calling into
        super and stuff).
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1362573002
    
    Cr-Commit-Position: refs/heads/master@{#30899}
    5ced12c1
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
x64 Loading commit data...
x87 Loading commit data...
OWNERS Loading commit data...
full-codegen.cc Loading commit data...
full-codegen.h Loading commit data...