Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index 5405bf4fee9479a1c22f1e0f25049d0b56b8e2c0..cb236451785c7e890e964833d27dfebc6ab30c51 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -211,7 +211,7 @@ Handle<Code> CodeGenerator::MakeCode(FunctionLiteral* flit, |
bool CodeGenerator::ShouldGenerateLog(Expression* type) { |
ASSERT(type != NULL); |
- if (!Logger::is_enabled()) return false; |
+ if (!Logger::IsEnabled()) return false; |
Handle<String> name = Handle<String>::cast(type->AsLiteral()->handle()); |
if (FLAG_log_regexp) { |
static Vector<const char> kRegexp = CStrVector("regexp"); |