Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index ceac829cf80351d1a8d483b020047cd10a0df706..c4c8f9941b4d1490e69df0f94614c333b99408a2 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -316,8 +316,8 @@ OptimizingCompiler::Status OptimizingCompiler::CreateGraph() { |
if (*FLAG_hydrogen_filter != '\0') { |
Vector<const char> filter = CStrVector(FLAG_hydrogen_filter); |
if ((filter[0] == '-' |
- && name->IsEqualTo(filter.SubVector(1, filter.length()))) |
- || (filter[0] != '-' && !name->IsEqualTo(filter))) { |
+ && name->IsUtf8EqualTo(filter.SubVector(1, filter.length()))) |
+ || (filter[0] != '-' && !name->IsUtf8EqualTo(filter))) { |
info()->SetCode(code); |
return SetLastStatus(BAILED_OUT); |
} |