Title: [125373] trunk/Source/_javascript_Core
Revision
125373
Author
[email protected]
Date
2012-08-12 04:47:34 -0700 (Sun, 12 Aug 2012)

Log Message

Doesn't build with ENABLE_JIT=0
https://bugs.webkit.org/show_bug.cgi?id=85042

Reviewed by Eric Seidel.

Include headers without which CallFrame.h does not build, and
fix gcc warning about comparing unsigned int with 0.

* dfg/DFGDriver.cpp:
* interpreter/Interpreter.cpp:
(JSC::Interpreter::isOpcode):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (125372 => 125373)


--- trunk/Source/_javascript_Core/ChangeLog	2012-08-12 11:38:12 UTC (rev 125372)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-08-12 11:47:34 UTC (rev 125373)
@@ -1,3 +1,17 @@
+2012-08-12  Allan Sandfeld Jensen  <[email protected]>
+
+        Doesn't build with ENABLE_JIT=0
+        https://bugs.webkit.org/show_bug.cgi?id=85042
+
+        Reviewed by Eric Seidel.
+
+        Include headers without which CallFrame.h does not build, and
+        fix gcc warning about comparing unsigned int with 0.
+
+        * dfg/DFGDriver.cpp:
+        * interpreter/Interpreter.cpp:
+        (JSC::Interpreter::isOpcode):
+
 2012-08-10  Yong Li  <[email protected]>
 
         [BlackBerry] GCActivityCallback should always schedule GC even allocated bytes is a small number

Modified: trunk/Source/_javascript_Core/dfg/DFGDriver.cpp (125372 => 125373)


--- trunk/Source/_javascript_Core/dfg/DFGDriver.cpp	2012-08-12 11:38:12 UTC (rev 125372)
+++ trunk/Source/_javascript_Core/dfg/DFGDriver.cpp	2012-08-12 11:47:34 UTC (rev 125373)
@@ -26,6 +26,10 @@
 #include "config.h"
 #include "DFGDriver.h"
 
+#include "JSObject.h"
+#include "JSString.h"
+#include "ScopeChain.h"
+
 #if ENABLE(DFG_JIT)
 
 #include "DFGArgumentsSimplificationPhase.h"

Modified: trunk/Source/_javascript_Core/interpreter/Interpreter.cpp (125372 => 125373)


--- trunk/Source/_javascript_Core/interpreter/Interpreter.cpp	2012-08-12 11:38:12 UTC (rev 125372)
+++ trunk/Source/_javascript_Core/interpreter/Interpreter.cpp	2012-08-12 11:47:34 UTC (rev 125373)
@@ -712,7 +712,7 @@
 #if ENABLE(COMPUTED_GOTO_CLASSIC_INTERPRETER) || ENABLE(LLINT)
 #if !ENABLE(LLINT)
     if (!m_classicEnabled)
-        return opcode >= 0 && static_cast<OpcodeID>(bitwise_cast<uintptr_t>(opcode)) <= op_end;
+        return static_cast<OpcodeID>(bitwise_cast<uintptr_t>(opcode)) <= op_end;
 #endif
     return opcode != HashTraits<Opcode>::emptyValue()
         && !HashTraits<Opcode>::isDeletedValue(opcode)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to