Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index 47eddb09495ebf3487ac025ebdca76ffc6ef4eaf..2eebef663cfcd8d2eb443f2d054b18a69f1db940 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -174,7 +174,7 @@ bool CodeGenerator::ShouldGenerateLog(Expression* type) { |
} |
Handle<String> name = Handle<String>::cast(type->AsLiteral()->handle()); |
if (FLAG_log_regexp) { |
- if (name->IsEqualTo(CStrVector("regexp"))) |
+ if (name->IsOneByteEqualTo(STATIC_ASCII_VECTOR("regexp"))) |
return true; |
} |
return false; |