• plind44@gmail.com's avatar
    MIPS: Pretenure call new support. · a03e80c3
    plind44@gmail.com authored
    Port r20076 (b7b1372)
    
    Original commit message:
    When FLAG_pretenure_call_new is on, we emit mementos on new object creation
    in full code, and consume the feedback in crankshaft. A key difference in the
    generated code for stubs is the allocation of an additional type vector slot for the
    CallNew AST node, which simplifies the CallConstructStub and CallFunctionStub
    considerably.
    
    Some performance tuning still needs to be addressed, therefore the flag is off at
    this moment, though fully functional. The goal is to remove the flag as soon as
    possible, which allows much code deletion (yay).
    
    BUG=
    R=plind44@gmail.com
    
    Review URL: https://codereview.chromium.org/203463013
    
    Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20091 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    a03e80c3
code-stubs-mips.cc 201 KB