Commit 66e26354 authored by rniwa@webkit.org's avatar rniwa@webkit.org
Browse files

Build fix.

* dfg/DFGCapabilities.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a1fee1c1
2011-09-08 Ryosuke Niwa <rniwa@webkit.org>
Build fix.
* dfg/DFGCapabilities.cpp:
2011-09-08 Filip Pizlo <fpizlo@apple.com> 2011-09-08 Filip Pizlo <fpizlo@apple.com>
   
Value profling and execution count profiling is performed even for Value profling and execution count profiling is performed even for
......
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
namespace JSC { namespace DFG { namespace JSC { namespace DFG {
#if ENABLE(DFG_JIT)
bool canCompileOpcodes(CodeBlock* codeBlock) bool canCompileOpcodes(CodeBlock* codeBlock)
{ {
Interpreter* interpreter = codeBlock->globalData()->interpreter; Interpreter* interpreter = codeBlock->globalData()->interpreter;
...@@ -56,5 +58,7 @@ bool canCompileOpcodes(CodeBlock* codeBlock) ...@@ -56,5 +58,7 @@ bool canCompileOpcodes(CodeBlock* codeBlock)
return true; return true;
} }
#endif
} } // namespace JSC::DFG } } // namespace JSC::DFG
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment