• sgjesse@chromium.org's avatar
    MIPS: Cleaned up calling-related methods in the assembler. · 5528ce70
    sgjesse@chromium.org authored
    Patterned after r8482, Cleaned up calling-related methods in the ARM assembler.
    
    On MIPS I completely refactored the Jump and Call methods.
    All the Jump and Call macro helpers have been replaced with overloaded functions
    (matching the ARM version) and using default parameter values where possible.
    The previously mostly-unused CallSize function is utilized as well (same as on ARM).
    The unused Jump(Operand, ...) and Call(Operand, ...) versions have been completely removed.
    I also removed the Jump(BranchDelaySlot, ...) and Call(BranchDelaySlot,...) methods as
    they were unused and declaring them would either result in a lot of unused code or the
    previously experienced macro-hell. The only exception to this is for Ret() where the
    branch delay slot is often used.
    
    This fixes the failing debug tests for example cctest test-debug/DebugStepFor.
    
    Ported r8482 (41cb9ed)
    
    Patch by Daniel Kalmar <kalmard@homejinni.com>
    
    BUG=
    TEST=
    
    Review URL: http://codereview.chromium.org//7328013
    Patch from Paul Lind <plind44@gmail.com>.
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8585 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    5528ce70
assembler-mips.h 39.1 KB