2010-06-17 Shu Chang <chang.shu@nokia.com>
[WebKit-https.git] / JavaScriptCore / jit / ExecutableAllocator.h
index 610b7888af76557e78ec48098d888e2eef69212d..9b6d6eaf13fa6215cf8ef605f8b1f23a0570525b 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef ExecutableAllocator_h
 #define ExecutableAllocator_h
 
+#if ENABLE(JIT)
+
 #include <stddef.h> // for ptrdiff_t
 #include <limits>
 #include <wtf/Assertions.h>
@@ -318,4 +320,6 @@ inline void* ExecutablePool::poolAllocate(size_t n)
 
 #endif // ENABLE(ASSEMBLER)
 
+#endif // ENABLE(JIT)
+
 #endif // !defined(ExecutableAllocator)