Ignore:
Timestamp:
Jul 26, 2013, 7:41:55 AM (12 years ago)
Author:
[email protected]
Message:

REGRESSION(FTL): Fix lots of crashes in sh4 baseline JIT.
https://bugs.webkit.org/show_bug.cgi?id=119148

Patch by Julien Brianceau <[email protected]> on 2013-07-26
Reviewed by Csaba Osztrogonác.

  • jit/JSInterfaceJIT.h: "secondArgumentRegister" is wrong for sh4.
  • llint/LowLevelInterpreter32_64.asm: "move t0, a0" is missing

in nativeCallTrampoline for sh4. Reuse MIPS implementation to avoid
code duplication.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JSInterfaceJIT.h

    r153231 r153371  
    159159        static const RegisterID regT6 = SH4Registers::r6;
    160160        static const RegisterID regT7 = SH4Registers::r7;
    161         static const RegisterID firstArgumentRegister =regT4;
    162         static const RegisterID secondArgumentRegister =regT4;
     161        static const RegisterID firstArgumentRegister = regT4;
     162        static const RegisterID secondArgumentRegister = regT5;
    163163
    164164        static const RegisterID returnValueRegister = SH4Registers::r0;
Note: See TracChangeset for help on using the changeset viewer.