Title: [134608] trunk/Source/_javascript_Core
Revision
134608
Author
commit-qu...@webkit.org
Date
2012-11-14 07:25:25 -0800 (Wed, 14 Nov 2012)

Log Message

Fix the MIPS build after r134332
https://bugs.webkit.org/show_bug.cgi?id=102227

Patch by Peter Gal <galpe...@inf.u-szeged.hu> on 2012-11-14
Reviewed by Csaba Osztrogonác.

Added missing methods for the MacroAssemblerMIPS, based on the MacroAssemblerARMv7.

* assembler/MacroAssemblerMIPS.h:
(JSC::MacroAssemblerMIPS::canJumpReplacePatchableBranchPtrWithPatch):
(MacroAssemblerMIPS):
(JSC::MacroAssemblerMIPS::startOfPatchableBranchPtrWithPatch):
(JSC::MacroAssemblerMIPS::revertJumpReplacementToPatchableBranchPtrWithPatch):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (134607 => 134608)


--- trunk/Source/_javascript_Core/ChangeLog	2012-11-14 15:20:02 UTC (rev 134607)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-11-14 15:25:25 UTC (rev 134608)
@@ -1,5 +1,20 @@
 2012-11-14  Peter Gal  <galpe...@inf.u-szeged.hu>
 
+        Fix the MIPS build after r134332
+        https://bugs.webkit.org/show_bug.cgi?id=102227
+
+        Reviewed by Csaba Osztrogonác.
+
+        Added missing methods for the MacroAssemblerMIPS, based on the MacroAssemblerARMv7.
+
+        * assembler/MacroAssemblerMIPS.h:
+        (JSC::MacroAssemblerMIPS::canJumpReplacePatchableBranchPtrWithPatch):
+        (MacroAssemblerMIPS):
+        (JSC::MacroAssemblerMIPS::startOfPatchableBranchPtrWithPatch):
+        (JSC::MacroAssemblerMIPS::revertJumpReplacementToPatchableBranchPtrWithPatch):
+
+2012-11-14  Peter Gal  <galpe...@inf.u-szeged.hu>
+
         Fix the [-Wreturn-type] warning in _javascript_Core/assembler/MacroAssemblerARM.h
         https://bugs.webkit.org/show_bug.cgi?id=102206
 

Modified: trunk/Source/_javascript_Core/assembler/MacroAssemblerMIPS.h (134607 => 134608)


--- trunk/Source/_javascript_Core/assembler/MacroAssemblerMIPS.h	2012-11-14 15:20:02 UTC (rev 134607)
+++ trunk/Source/_javascript_Core/assembler/MacroAssemblerMIPS.h	2012-11-14 15:25:25 UTC (rev 134608)
@@ -2242,6 +2242,20 @@
         return 0;
     }
 
+    static bool canJumpReplacePatchableBranchPtrWithPatch() { return false; }
+
+    static CodeLocationLabel startOfPatchableBranchPtrWithPatch(CodeLocationDataLabelPtr label)
+    {
+        UNREACHABLE_FOR_PLATFORM();
+        return CodeLocationLabel();
+    }
+
+    static void revertJumpReplacementToPatchableBranchPtrWithPatch(CodeLocationLabel instructionStart, Address, void* initialValue)
+    {
+        UNREACHABLE_FOR_PLATFORM();
+    }
+
+
 private:
     // If m_fixedWidth is true, we will generate a fixed number of instructions.
     // Otherwise, we can emit any number of instructions.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to