Title: [140227] trunk/Source/_javascript_Core
Revision
140227
Author
msab...@apple.com
Date
2013-01-18 17:53:36 -0800 (Fri, 18 Jan 2013)

Log Message

Unreviewed build fix for building JSC with DFG_ENABLE_DEBUG_PROPAGATION_VERBOSE enabled in DFGCommon.h.
Fixes the case where the argument node in fixupNode is freed due to the Vector storage being reallocated.

* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (140226 => 140227)


--- trunk/Source/_javascript_Core/ChangeLog	2013-01-19 01:47:47 UTC (rev 140226)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-01-19 01:53:36 UTC (rev 140227)
@@ -1,5 +1,13 @@
 2013-01-18  Michael Saboff  <msab...@apple.com>
 
+        Unreviewed build fix for building JSC with DFG_ENABLE_DEBUG_PROPAGATION_VERBOSE enabled in DFGCommon.h.
+        Fixes the case where the argument node in fixupNode is freed due to the Vector storage being reallocated.
+
+        * dfg/DFGFixupPhase.cpp:
+        (JSC::DFG::FixupPhase::fixupNode):
+
+2013-01-18  Michael Saboff  <msab...@apple.com>
+
         Unreviewed build fix for release builds when DFG_ENABLE_DEBUG_PROPAGATION_VERBOSE is set to 1 in DFGCommon.h.
 
         * dfg/DFGCFAPhase.cpp: Added #include "Operations.h"

Modified: trunk/Source/_javascript_Core/dfg/DFGFixupPhase.cpp (140226 => 140227)


--- trunk/Source/_javascript_Core/dfg/DFGFixupPhase.cpp	2013-01-19 01:47:47 UTC (rev 140226)
+++ trunk/Source/_javascript_Core/dfg/DFGFixupPhase.cpp	2013-01-19 01:53:36 UTC (rev 140227)
@@ -414,9 +414,10 @@
         }
 
 #if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE)
-        if (!(node.flags() & NodeHasVarArgs)) {
+        Node* nodePtr = &m_graph[m_compileIndex];
+        if (!(nodePtr->flags() & NodeHasVarArgs)) {
             dataLogF("new children: ");
-            node.dumpChildren(WTF::dataFile());
+            nodePtr->dumpChildren(WTF::dataFile());
         }
         dataLogF("\n");
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to