Title: [206128] trunk/Source/_javascript_Core
Revision
206128
Author
utatane....@gmail.com
Date
2016-09-19 16:27:26 -0700 (Mon, 19 Sep 2016)

Log Message

Unreviewed, build fix for Win64
https://bugs.webkit.org/show_bug.cgi?id=162132

In Windows 64bit, t3 register in LLInt is not r[a-d]x.
It means that this cannot be used for byte operation.

* llint/LowLevelInterpreter64.asm:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (206127 => 206128)


--- trunk/Source/_javascript_Core/ChangeLog	2016-09-19 23:24:15 UTC (rev 206127)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-09-19 23:27:26 UTC (rev 206128)
@@ -1,3 +1,13 @@
+2016-09-19  Yusuke Suzuki  <utatane....@gmail.com>
+
+        Unreviewed, build fix for Win64
+        https://bugs.webkit.org/show_bug.cgi?id=162132
+
+        In Windows 64bit, t3 register in LLInt is not r[a-d]x.
+        It means that this cannot be used for byte operation.
+
+        * llint/LowLevelInterpreter64.asm:
+
 2016-09-19  Daniel Bates  <daba...@apple.com>
 
         Remove ENABLE(TEXT_AUTOSIZING) automatic text size adjustment code

Modified: trunk/Source/_javascript_Core/llint/LowLevelInterpreter64.asm (206127 => 206128)


--- trunk/Source/_javascript_Core/llint/LowLevelInterpreter64.asm	2016-09-19 23:24:15 UTC (rev 206127)
+++ trunk/Source/_javascript_Core/llint/LowLevelInterpreter64.asm	2016-09-19 23:27:26 UTC (rev 206128)
@@ -1148,12 +1148,12 @@
 
 _llint_op_is_cell_with_type:
     traceExecution()
-    loadisFromInstruction(3, t3)
+    loadisFromInstruction(3, t0)
     loadisFromInstruction(2, t1)
     loadisFromInstruction(1, t2)
-    loadConstantOrVariable(t1, t0)
-    btqnz t0, tagMask, .notCellCase
-    cbeq JSCell::m_type[t0], t3, t1
+    loadConstantOrVariable(t1, t3)
+    btqnz t3, tagMask, .notCellCase
+    cbeq JSCell::m_type[t3], t0, t1
     orq ValueFalse, t1
     storeq t1, [cfr, t2, 8]
     dispatch(4)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to