Title: [231284] trunk/Source/_javascript_Core
Revision
231284
Author
[email protected]
Date
2018-05-02 17:42:12 -0700 (Wed, 02 May 2018)

Log Message

Unreviewed, fix 32bit DFG code
https://bugs.webkit.org/show_bug.cgi?id=185065

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileSameValue):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (231283 => 231284)


--- trunk/Source/_javascript_Core/ChangeLog	2018-05-03 00:37:30 UTC (rev 231283)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-05-03 00:42:12 UTC (rev 231284)
@@ -1,3 +1,11 @@
+2018-05-02  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, fix 32bit DFG code
+        https://bugs.webkit.org/show_bug.cgi?id=185065
+
+        * dfg/DFGSpeculativeJIT.cpp:
+        (JSC::DFG::SpeculativeJIT::compileSameValue):
+
 2018-05-02  Filip Pizlo  <[email protected]>
 
         JSC should know how to cache custom getter accesses on the prototype chain

Modified: trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT.cpp (231283 => 231284)


--- trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT.cpp	2018-05-03 00:37:30 UTC (rev 231283)
+++ trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT.cpp	2018-05-03 00:42:12 UTC (rev 231284)
@@ -6386,15 +6386,12 @@
         auto trueCase = m_jit.branch64(CCallHelpers::Equal, tempGPR, temp2GPR);
 #else
         GPRTemporary temp3(this);
-        GPRTemporary temp4(this);
+        GPRReg temp3GPR = temp3.gpr();
 
-        GPRReg temp3GPR = temp.gpr();
-        GPRReg temp4GPR = temp2.gpr();
-
         m_jit.moveDoubleToInts(arg1FPR, tempGPR, temp2GPR);
-        m_jit.moveDoubleToInts(arg2FPR, temp3GPR, temp4GPR);
+        m_jit.moveDoubleToInts(arg2FPR, temp3GPR, resultGPR);
         auto notEqual = m_jit.branch32(CCallHelpers::NotEqual, tempGPR, temp3GPR);
-        auto trueCase = m_jit.branch32(CCallHelpers::Equal, temp2GPR, temp4GPR);
+        auto trueCase = m_jit.branch32(CCallHelpers::Equal, temp2GPR, resultGPR);
         notEqual.link(&m_jit);
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to