Title: [195217] releases/WebKitGTK/webkit-2.10/Source/_javascript_Core
Revision
195217
Author
[email protected]
Date
2016-01-18 05:21:40 -0800 (Mon, 18 Jan 2016)

Log Message

Merge r194709 - [mips] GPRInfo::toArgumentRegister missing
https://bugs.webkit.org/show_bug.cgi?id=152838

Patch by Konstantin Tokarev <[email protected]> on 2016-01-07
Reviewed by Michael Saboff.

* jit/GPRInfo.h:
(JSC::GPRInfo::toArgumentRegister):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.10/Source/_javascript_Core/ChangeLog (195216 => 195217)


--- releases/WebKitGTK/webkit-2.10/Source/_javascript_Core/ChangeLog	2016-01-18 13:20:31 UTC (rev 195216)
+++ releases/WebKitGTK/webkit-2.10/Source/_javascript_Core/ChangeLog	2016-01-18 13:21:40 UTC (rev 195217)
@@ -1,3 +1,13 @@
+2016-01-07  Konstantin Tokarev  <[email protected]>
+
+        [mips] GPRInfo::toArgumentRegister missing
+        https://bugs.webkit.org/show_bug.cgi?id=152838
+
+        Reviewed by Michael Saboff.
+
+        * jit/GPRInfo.h:
+        (JSC::GPRInfo::toArgumentRegister):
+
 2016-01-07  Julien Brianceau  <[email protected]>
 
         [mips] Add two missing abortWithReason implementations

Modified: releases/WebKitGTK/webkit-2.10/Source/_javascript_Core/jit/GPRInfo.h (195216 => 195217)


--- releases/WebKitGTK/webkit-2.10/Source/_javascript_Core/jit/GPRInfo.h	2016-01-18 13:20:31 UTC (rev 195216)
+++ releases/WebKitGTK/webkit-2.10/Source/_javascript_Core/jit/GPRInfo.h	2016-01-18 13:21:40 UTC (rev 195217)
@@ -701,6 +701,13 @@
         return registerForIndex[index];
     }
 
+    static GPRReg toArgumentRegister(unsigned index)
+    {
+        ASSERT(index < numberOfArgumentRegisters);
+        static const GPRReg registerForIndex[numberOfArgumentRegisters] = { argumentGPR0, argumentGPR1, argumentGPR2, argumentGPR3 };
+        return registerForIndex[index];
+    }
+
     static unsigned toIndex(GPRReg reg)
     {
         ASSERT(reg != InvalidGPRReg);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to