Title: [157295] trunk/Source/_javascript_Core
Revision
157295
Author
[email protected]
Date
2013-10-11 01:26:43 -0700 (Fri, 11 Oct 2013)

Log Message

[sh4] Fix build after r157209.
https://bugs.webkit.org/show_bug.cgi?id=122643

Patch by Julien Brianceau <[email protected]> on 2013-10-11
Reviewed by Ryosuke Niwa.

* assembler/MacroAssemblerSH4.h: Add framePointerRegister declaration.
* assembler/SH4Assembler.h: Add firstRegister() declaration.
(JSC::SH4Assembler::firstRegister):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (157294 => 157295)


--- trunk/Source/_javascript_Core/ChangeLog	2013-10-11 06:41:50 UTC (rev 157294)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-10-11 08:26:43 UTC (rev 157295)
@@ -1,3 +1,14 @@
+2013-10-11  Julien Brianceau  <[email protected]>
+
+        [sh4] Fix build after r157209.
+        https://bugs.webkit.org/show_bug.cgi?id=122643
+
+        Reviewed by Ryosuke Niwa.
+
+        * assembler/MacroAssemblerSH4.h: Add framePointerRegister declaration.
+        * assembler/SH4Assembler.h: Add firstRegister() declaration.
+        (JSC::SH4Assembler::firstRegister):
+
 2013-10-10  Filip Pizlo  <[email protected]>
 
         FTL shouldn't pass i1's into llvm.webkit.stackmap's

Modified: trunk/Source/_javascript_Core/assembler/MacroAssemblerSH4.h (157294 => 157295)


--- trunk/Source/_javascript_Core/assembler/MacroAssemblerSH4.h	2013-10-11 06:41:50 UTC (rev 157294)
+++ trunk/Source/_javascript_Core/assembler/MacroAssemblerSH4.h	2013-10-11 08:26:43 UTC (rev 157295)
@@ -43,6 +43,7 @@
     static const Scale ScalePtr = TimesFour;
     static const FPRegisterID fscratch = SH4Registers::dr10;
     static const RegisterID stackPointerRegister = SH4Registers::sp;
+    static const RegisterID framePointerRegister = SH4Registers::fp;
     static const RegisterID linkRegister = SH4Registers::pr;
     static const RegisterID scratchReg3 = SH4Registers::r13;
 

Modified: trunk/Source/_javascript_Core/assembler/SH4Assembler.h (157294 => 157295)


--- trunk/Source/_javascript_Core/assembler/SH4Assembler.h	2013-10-11 06:41:50 UTC (rev 157294)
+++ trunk/Source/_javascript_Core/assembler/SH4Assembler.h	2013-10-11 08:26:43 UTC (rev 157295)
@@ -325,6 +325,8 @@
     static const RegisterID scratchReg2 = SH4Registers::r11;
     static const uint32_t maxInstructionSize = 16;
 
+    static RegisterID firstRegister() { return SH4Registers::r0; }
+
     enum {
         padForAlign8 = 0x00,
         padForAlign16 = 0x0009,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to