Chromium Code Reviews| Index: src/codegen.cc |
| =================================================================== |
| --- src/codegen.cc (revision 2260) |
| +++ src/codegen.cc (working copy) |
| @@ -225,7 +225,7 @@ |
| bool CodeGenerator::ShouldGenerateLog(Expression* type) { |
| ASSERT(type != NULL); |
| - if (!Logger::IsEnabled()) return false; |
| + if (!Logger::is_logging()) return false; |
| Handle<String> name = Handle<String>::cast(type->AsLiteral()->handle()); |
| if (FLAG_log_regexp) { |
| static Vector<const char> kRegexp = CStrVector("regexp"); |