Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index c8f69c734c5447576abf9a1db2ed137c44bfb7c6..229310edd33fe985cd77671a7d19f3ee88cc4370 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -206,7 +206,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"); |