• danno@chromium.org's avatar
    MIPS: pre-crankshaft updates to code-stubs and stub-cache (3/3) · c74aae24
    danno@chromium.org authored
    Highlights:
    - code-stubs-mips.cc
    -- use EmitFPUTruncate in place of inline code in several places.
    -- use BranchF macro rather than lower-level FP cmp and branch for readability.
    -- Port of Sven's r8859 (Implement type recording for ToBoolean) and r8886
    (Simplify and optimize ToBoolean handling.)
    -- Fix bug in TranscendentalCacheStub::Generate where some regs were not
    saved across CFunction call.
    -- use updated xxxCFunction macros.
    -- update InstanceOfStub to support crankshaft
    DoDeferredLInstanceOfKnownGlobal
    -- Provide code-patching and I-cache flushing support for generated
    code, used for InstanceOfStub under crankshaft (not submitted here).
    This requires adding new ExternalReference to src/assember.cc,h
    
    - stub-cache-mips.cc
    -- port Danno's r8901 (Create a common base class for Fixed-, FixedDouble-
    and ExternalArrays) to mips crankshaft branch.
    
    BUG=
    TEST=
    
    Review URL: http://codereview.chromium.org/7890001
    Patch from Paul Lind <plind44@gmail.com>.
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9308 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    c74aae24
macro-assembler-mips.h 51.7 KB