Title: [201713] trunk/Source/_javascript_Core
Revision
201713
Author
[email protected]
Date
2016-06-06 10:22:23 -0700 (Mon, 06 Jun 2016)

Log Message

[jsc][mips] fix JIT::emit_op_log_shadow_chicken_prologue/_tail
https://bugs.webkit.org/show_bug.cgi?id=158209

Patch by Guillaume Emont <[email protected]> on 2016-06-06
Reviewed by Mark Lam.

On MIPS, changes GPRInfo::nonArgGPR0 to be regT4 instead of regT0,
since the code of JIT::emit_op_log_shadow_chicken_prologue/_tail()
expects nonArgGPR0 to be a different register from regT0 and regT2.

* jit/GPRInfo.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (201712 => 201713)


--- trunk/Source/_javascript_Core/ChangeLog	2016-06-06 16:40:02 UTC (rev 201712)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-06-06 17:22:23 UTC (rev 201713)
@@ -1,3 +1,16 @@
+2016-06-06  Guillaume Emont  <[email protected]>
+
+        [jsc][mips] fix JIT::emit_op_log_shadow_chicken_prologue/_tail
+        https://bugs.webkit.org/show_bug.cgi?id=158209
+
+        Reviewed by Mark Lam.
+
+        On MIPS, changes GPRInfo::nonArgGPR0 to be regT4 instead of regT0,
+        since the code of JIT::emit_op_log_shadow_chicken_prologue/_tail()
+        expects nonArgGPR0 to be a different register from regT0 and regT2.
+
+        * jit/GPRInfo.h:
+
 2016-06-06  Chris Dumez  <[email protected]>
 
         Crash under JSObject::getOwnPropertyDescriptor()

Modified: trunk/Source/_javascript_Core/jit/GPRInfo.h (201712 => 201713)


--- trunk/Source/_javascript_Core/jit/GPRInfo.h	2016-06-06 16:40:02 UTC (rev 201712)
+++ trunk/Source/_javascript_Core/jit/GPRInfo.h	2016-06-06 17:22:23 UTC (rev 201713)
@@ -771,7 +771,7 @@
     static const GPRReg argumentGPR1 = MIPSRegisters::a1;
     static const GPRReg argumentGPR2 = MIPSRegisters::a2;
     static const GPRReg argumentGPR3 = MIPSRegisters::a3;
-    static const GPRReg nonArgGPR0 = regT0;
+    static const GPRReg nonArgGPR0 = regT4;
     static const GPRReg returnValueGPR = regT0;
     static const GPRReg returnValueGPR2 = regT1;
     static const GPRReg nonPreservedNonReturnGPR = regT2;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to