• mvstanton@chromium.org's avatar
    Pretenure call new support. · 535f3427
    mvstanton@chromium.org authored
    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).
    
    R=hpayer@chromium.org
    
    Review URL: https://codereview.chromium.org/132963012
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20076 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    535f3427
array-constructor-feedback.js 8.58 KB