Title: [207289] trunk/Source/_javascript_Core
Revision
207289
Author
pvol...@apple.com
Date
2016-10-13 08:36:00 -0700 (Thu, 13 Oct 2016)

Log Message

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

Reviewed by Brent Fulgham.

Fix use of potentially uninitialized variable.

* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (207288 => 207289)


--- trunk/Source/_javascript_Core/ChangeLog	2016-10-13 15:25:14 UTC (rev 207288)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-10-13 15:36:00 UTC (rev 207289)
@@ -1,3 +1,15 @@
+2016-10-13  Per Arne Vollan  <pvol...@apple.com>
+
+        [Win64] Compile fix.
+        https://bugs.webkit.org/show_bug.cgi?id=163384
+
+        Reviewed by Brent Fulgham.
+
+        Fix use of potentially uninitialized variable.
+
+        * dfg/DFGSpeculativeJIT64.cpp:
+        (JSC::DFG::SpeculativeJIT::compile):
+
 2016-10-12  Chris Dumez  <cdu...@apple.com>
 
         [Web IDL] Drop support for legacy [ConstructorConditional=*]

Modified: trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT64.cpp (207288 => 207289)


--- trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT64.cpp	2016-10-13 15:25:14 UTC (rev 207288)
+++ trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT64.cpp	2016-10-13 15:36:00 UTC (rev 207289)
@@ -4638,7 +4638,7 @@
             GPRTemporary result(this);
             Optional<GPRTemporary> temp;
 
-            GPRReg tempGPR;
+            GPRReg tempGPR = InvalidGPRReg;
             if (node->child1().useKind() == CellUse) {
                 temp = GPRTemporary(this);
                 tempGPR = temp->gpr();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to