Title: [205611] trunk/Source/_javascript_Core
Revision
205611
Author
[email protected]
Date
2016-09-08 02:09:59 -0700 (Thu, 08 Sep 2016)

Log Message

[Win64] Compile fixes.
https://bugs.webkit.org/show_bug.cgi?id=161682

Reviewed by Brent Fulgham.

* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::emitCall):
* jit/JITCall.cpp:
(JSC::JIT::compileOpCall):
* runtime/ArrayConventions.cpp:
(JSC::clearArrayMemset):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (205610 => 205611)


--- trunk/Source/_javascript_Core/ChangeLog	2016-09-08 09:08:50 UTC (rev 205610)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-09-08 09:09:59 UTC (rev 205611)
@@ -1,5 +1,19 @@
 2016-09-08  Per Arne Vollan  <[email protected]>
 
+        [Win64] Compile fixes.
+        https://bugs.webkit.org/show_bug.cgi?id=161682
+
+        Reviewed by Brent Fulgham.
+
+        * dfg/DFGSpeculativeJIT64.cpp:
+        (JSC::DFG::SpeculativeJIT::emitCall):
+        * jit/JITCall.cpp:
+        (JSC::JIT::compileOpCall):
+        * runtime/ArrayConventions.cpp:
+        (JSC::clearArrayMemset):
+
+2016-09-08  Per Arne Vollan  <[email protected]>
+
         [Win] Exception fuzz tests fail
         https://bugs.webkit.org/show_bug.cgi?id=140928
 

Modified: trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT64.cpp (205610 => 205611)


--- trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT64.cpp	2016-09-08 09:08:50 UTC (rev 205610)
+++ trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT64.cpp	2016-09-08 09:09:59 UTC (rev 205611)
@@ -691,7 +691,7 @@
         break;
     }
 
-    GPRReg calleeGPR;
+    GPRReg calleeGPR = InvalidGPRReg;
     CallFrameShuffleData shuffleData;
     
     // Gotta load the arguments somehow. Varargs is trickier.

Modified: trunk/Source/_javascript_Core/jit/JITCall.cpp (205610 => 205611)


--- trunk/Source/_javascript_Core/jit/JITCall.cpp	2016-09-08 09:08:50 UTC (rev 205610)
+++ trunk/Source/_javascript_Core/jit/JITCall.cpp	2016-09-08 09:09:59 UTC (rev 205611)
@@ -156,7 +156,7 @@
     COMPILE_ASSERT(OPCODE_LENGTH(op_call) == OPCODE_LENGTH(op_tail_call_varargs), call_and_tail_call_varargs_opcodes_must_be_same_length);
     COMPILE_ASSERT(OPCODE_LENGTH(op_call) == OPCODE_LENGTH(op_tail_call_forward_arguments), call_and_tail_call_forward_arguments_opcodes_must_be_same_length);
 
-    CallLinkInfo* info;
+    CallLinkInfo* info = nullptr;
     if (opcodeID != op_call_eval)
         info = m_codeBlock->addCallLinkInfo();
     if (opcodeID == op_call_varargs || opcodeID == op_construct_varargs || opcodeID == op_tail_call_varargs || opcodeID == op_tail_call_forward_arguments)

Modified: trunk/Source/_javascript_Core/runtime/ArrayConventions.cpp (205610 => 205611)


--- trunk/Source/_javascript_Core/runtime/ArrayConventions.cpp	2016-09-08 09:08:50 UTC (rev 205610)
+++ trunk/Source/_javascript_Core/runtime/ArrayConventions.cpp	2016-09-08 09:09:59 UTC (rev 205611)
@@ -33,7 +33,7 @@
 #if USE(JSVALUE64)
 void clearArrayMemset(WriteBarrier<Unknown>* base, unsigned count)
 {
-#if CPU(X86_64)
+#if CPU(X86_64) && COMPILER(GCC_OR_CLANG)
     uint64_t zero = 0;
     asm volatile (
         "rep stosq\n\t"
@@ -48,7 +48,7 @@
 
 void clearArrayMemset(double* base, unsigned count)
 {
-#if CPU(X86_64)
+#if CPU(X86_64) && COMPILER(GCC_OR_CLANG)
     uint64_t pnan = bitwise_cast<uint64_t>(PNaN);
     asm volatile (
         "rep stosq\n\t"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to