Title: [160912] trunk/Source/_javascript_Core
Revision
160912
Author
commit-qu...@webkit.org
Date
2013-12-20 07:48:46 -0800 (Fri, 20 Dec 2013)

Log Message

[sh4] Add missing implementation in MacroAssembler to fix build.
https://bugs.webkit.org/show_bug.cgi?id=126063

Patch by Julien Brianceau <jbria...@cisco.com> on 2013-12-20
Reviewed by Mark Hahnenberg.

* assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::branchTest8):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (160911 => 160912)


--- trunk/Source/_javascript_Core/ChangeLog	2013-12-20 15:46:34 UTC (rev 160911)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-12-20 15:48:46 UTC (rev 160912)
@@ -1,5 +1,15 @@
 2013-12-20  Julien Brianceau  <jbria...@cisco.com>
 
+        [sh4] Add missing implementation in MacroAssembler to fix build.
+        https://bugs.webkit.org/show_bug.cgi?id=126063
+
+        Reviewed by Mark Hahnenberg.
+
+        * assembler/MacroAssemblerSH4.h:
+        (JSC::MacroAssemblerSH4::branchTest8):
+
+2013-12-20  Julien Brianceau  <jbria...@cisco.com>
+
         [arm] Add missing implementation in MacroAssembler to fix CPU(ARM_TRADITIONAL) build.
         https://bugs.webkit.org/show_bug.cgi?id=126064
 

Modified: trunk/Source/_javascript_Core/assembler/MacroAssemblerSH4.h (160911 => 160912)


--- trunk/Source/_javascript_Core/assembler/MacroAssemblerSH4.h	2013-12-20 15:46:34 UTC (rev 160911)
+++ trunk/Source/_javascript_Core/assembler/MacroAssemblerSH4.h	2013-12-20 15:48:46 UTC (rev 160912)
@@ -1570,6 +1570,15 @@
         return jmp;
     }
 
+    Jump branchTest8(ResultCondition cond, BaseIndex address, TrustedImm32 mask = TrustedImm32(-1))
+    {
+        RegisterID addressTempRegister = claimScratch();
+        load8(address, addressTempRegister);
+        Jump jmp = branchTest32(cond, addressTempRegister, mask);
+        releaseScratch(addressTempRegister);
+        return jmp;
+    }
+
     Jump branchTest8(ResultCondition cond, AbsoluteAddress address, TrustedImm32 mask = TrustedImm32(-1))
     {
         RegisterID addressTempRegister = claimScratch();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to