Title: [104105] trunk/Source/_javascript_Core
Revision
104105
Author
[email protected]
Date
2012-01-04 17:18:26 -0800 (Wed, 04 Jan 2012)

Log Message

Changed "return" to "break" in some macrology I introduced in
http://trac.webkit.org/changeset/104086. This is a benign change, as
"return" was technically correct for all uses of the macro.

Reviewed by Oliver Hunt.

* dfg/DFGGraph.cpp:
* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (104104 => 104105)


--- trunk/Source/_javascript_Core/ChangeLog	2012-01-05 01:17:46 UTC (rev 104104)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-01-05 01:18:26 UTC (rev 104105)
@@ -1,3 +1,14 @@
+2012-01-04  Filip Pizlo  <[email protected]>
+
+        Changed "return" to "break" in some macrology I introduced in
+        http://trac.webkit.org/changeset/104086. This is a benign change, as
+        "return" was technically correct for all uses of the macro.
+
+        Reviewed by Oliver Hunt.
+
+        * dfg/DFGGraph.cpp:
+        * wtf/Platform.h:
+
 2012-01-04  Michael Saboff  <[email protected]>
 
         StructureStubInfo not reset when corresponding MethodCallLinkInfo is reset

Modified: trunk/Source/_javascript_Core/dfg/DFGGraph.cpp (104104 => 104105)


--- trunk/Source/_javascript_Core/dfg/DFGGraph.cpp	2012-01-05 01:17:46 UTC (rev 104104)
+++ trunk/Source/_javascript_Core/dfg/DFGGraph.cpp	2012-01-05 01:18:26 UTC (rev 104105)
@@ -312,18 +312,18 @@
             if (_node.child1() == NoNode) {                             \
                 ASSERT(_node.child2() == NoNode                         \
                        && _node.child3() == NoNode);                    \
-                return;                                                 \
+                break;                                                  \
             }                                                           \
             thingToDo(_node.child1());                                  \
                                                                         \
             if (_node.child2() == NoNode) {                             \
                 ASSERT(_node.child3() == NoNode);                       \
-                return;                                                 \
+                break;                                                  \
             }                                                           \
             thingToDo(_node.child2());                                  \
                                                                         \
             if (_node.child3() == NoNode)                               \
-                return;                                                 \
+                break;                                                  \
             thingToDo(_node.child3());                                  \
         }                                                               \
     } while (false)

Modified: trunk/Source/_javascript_Core/wtf/Platform.h (104104 => 104105)


--- trunk/Source/_javascript_Core/wtf/Platform.h	2012-01-05 01:17:46 UTC (rev 104104)
+++ trunk/Source/_javascript_Core/wtf/Platform.h	2012-01-05 01:18:26 UTC (rev 104105)
@@ -31,6 +31,8 @@
 /* Include compiler specific macros */
 #include "Compiler.h"
 
+#define ENABLE_JIT 0
+
 /* ==== PLATFORM handles OS, operating environment, graphics API, and
    CPU. This macro will be phased out in favor of platform adaptation
    macros, policy decision macros, and top-level port definitions. ==== */
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to