• mstarzinger@chromium.org's avatar
    MIPS: Implement crankshaft support for nested object literals. · 830f763b
    mstarzinger@chromium.org authored
    Port r10061 (c648e1d1)
    
    Original commit message:
    This generates optimized code for deep-copying of nested object literal
    boilerplates which are statically known. Most of the boilerplates have
    already been generated at crankshaft time, so this optimization should
    kick in for virtually every object literal. Only nested object literal
    graphs up to a certain depth and containing up to a certain total number
    of properties are considered for this optimization. This will prevent
    explosion of code size due to large object literals (e.g. eval on JSON).
    Improves splay performance because object literals are created often.
    
    BUG=
    TEST=
    
    Review URL: http://codereview.chromium.org/8745012
    Patch from Daniel Kalmar <kalmard@homejinni.com>.
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10128 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    830f763b
lithium-mips.cc 70.2 KB