• mbrandy's avatar
    PPC: [builtins] Add support for NewTarget to Execution::New. · 0ad9b9e5
    mbrandy authored
    Port 1dfac69f
    
    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).
    
    R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
    BUG=v8:4430
    LOG=n
    
    Review URL: https://codereview.chromium.org/1358203002
    
    Cr-Commit-Position: refs/heads/master@{#30872}
    0ad9b9e5
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-ppc-inl.h Loading commit data...
assembler-ppc.cc Loading commit data...
assembler-ppc.h Loading commit data...
builtins-ppc.cc Loading commit data...
code-stubs-ppc.cc Loading commit data...
code-stubs-ppc.h Loading commit data...
codegen-ppc.cc Loading commit data...
codegen-ppc.h Loading commit data...
constants-ppc.cc Loading commit data...
constants-ppc.h Loading commit data...
cpu-ppc.cc Loading commit data...
deoptimizer-ppc.cc Loading commit data...
disasm-ppc.cc Loading commit data...
frames-ppc.cc Loading commit data...
frames-ppc.h Loading commit data...
interface-descriptors-ppc.cc Loading commit data...
lithium-codegen-ppc.cc Loading commit data...
lithium-codegen-ppc.h Loading commit data...
lithium-gap-resolver-ppc.cc Loading commit data...
lithium-gap-resolver-ppc.h Loading commit data...
lithium-ppc.cc Loading commit data...
lithium-ppc.h Loading commit data...
macro-assembler-ppc.cc Loading commit data...
macro-assembler-ppc.h Loading commit data...
simulator-ppc.cc Loading commit data...
simulator-ppc.h Loading commit data...