Title: [223248] trunk/Source/_javascript_Core
Revision
223248
Author
[email protected]
Date
2017-10-12 12:24:02 -0700 (Thu, 12 Oct 2017)

Log Message

[Win64] JSC compile error.
https://bugs.webkit.org/show_bug.cgi?id=178213

Reviewed by Alex Christensen.

Add static cast from int64 to uintptr_t.

* dfg/DFGOSRExit.cpp:
(JSC::DFG::OSRExit::executeOSRExit):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (223247 => 223248)


--- trunk/Source/_javascript_Core/ChangeLog	2017-10-12 19:12:04 UTC (rev 223247)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-10-12 19:24:02 UTC (rev 223248)
@@ -1,3 +1,15 @@
+2017-10-12  Per Arne Vollan  <[email protected]>
+
+        [Win64] JSC compile error.
+        https://bugs.webkit.org/show_bug.cgi?id=178213
+
+        Reviewed by Alex Christensen.
+
+        Add static cast from int64 to uintptr_t.
+
+        * dfg/DFGOSRExit.cpp:
+        (JSC::DFG::OSRExit::executeOSRExit):
+
 2017-09-29  Filip Pizlo  <[email protected]>
 
         Enable gigacage on iOS

Modified: trunk/Source/_javascript_Core/dfg/DFGOSRExit.cpp (223247 => 223248)


--- trunk/Source/_javascript_Core/dfg/DFGOSRExit.cpp	2017-10-12 19:12:04 UTC (rev 223247)
+++ trunk/Source/_javascript_Core/dfg/DFGOSRExit.cpp	2017-10-12 19:24:02 UTC (rev 223248)
@@ -668,8 +668,8 @@
     saveCalleeSavesFor(context, baselineCodeBlock);
 
 #if USE(JSVALUE64)
-    cpu.gpr(GPRInfo::tagTypeNumberRegister) = TagTypeNumber;
-    cpu.gpr(GPRInfo::tagMaskRegister) = TagTypeNumber | TagBitTypeOther;
+    cpu.gpr(GPRInfo::tagTypeNumberRegister) = static_cast<uintptr_t>(TagTypeNumber);
+    cpu.gpr(GPRInfo::tagMaskRegister) = static_cast<uintptr_t>(TagTypeNumber | TagBitTypeOther);
 #endif
 
     if (exit.isExceptionHandler())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to