Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index fb723a3bccc7fe0ec8422f7d20d4b0bff0ea5b21..cdc9ba1553276ed9edaad35f8d0d25f0210ef7c6 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -169,7 +169,6 @@ void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) { |
#endif // ENABLE_DISASSEMBLER |
} |
-static Vector<const char> kRegexp = CStrVector("regexp"); |
bool CodeGenerator::ShouldGenerateLog(Expression* type) { |
ASSERT(type != NULL); |
@@ -179,7 +178,7 @@ bool CodeGenerator::ShouldGenerateLog(Expression* type) { |
} |
Handle<String> name = Handle<String>::cast(type->AsLiteral()->handle()); |
if (FLAG_log_regexp) { |
- if (name->IsEqualTo(kRegexp)) |
+ if (name->IsEqualTo(CStrVector("regexp"))) |
return true; |
} |
return false; |