Unreviewed. Build fix for !ENABLE(JIT) after r109705.
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Mar 2012 20:35:55 +0000 (20:35 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Mar 2012 20:35:55 +0000 (20:35 +0000)
* bytecode/ExecutionCounter.cpp:
* bytecode/ExecutionCounter.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109784 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/ExecutionCounter.cpp
Source/JavaScriptCore/bytecode/ExecutionCounter.h

index 7abfa3a..e8d56e9 100644 (file)
@@ -1,3 +1,10 @@
+2012-03-05  Patrick Gansterer  <paroga@webkit.org>
+
+        Unreviewed. Build fix for !ENABLE(JIT) after r109705.
+
+        * bytecode/ExecutionCounter.cpp:
+        * bytecode/ExecutionCounter.h:
+
 2012-03-05  Andy Wingo  <wingo@igalia.com>
 
         Lexer: Specialize character predicates for LChar, UChar
index 78d02aa..c63e56b 100644 (file)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "ExecutionCounter.h"
 
+#if ENABLE(JIT)
+
 #include "CodeBlock.h"
 #include "ExecutableAllocator.h"
 #include <wtf/DataLog.h>
@@ -157,3 +159,4 @@ void ExecutionCounter::reset()
 
 } // namespace JSC
 
+#endif // ENABLE(JIT)
index d2ffbb6..1c41ce3 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef ExecutionCounter_h
 #define ExecutionCounter_h
 
+#if ENABLE(JIT)
+
 #include <wtf/SimpleStats.h>
 
 namespace JSC {
@@ -79,5 +81,7 @@ public:
 
 } // namespace JSC
 
+#endif // ENABLE(JIT)
+
 #endif // ExecutionCounter_h