Index: src/bootstrapper.h |
diff --git a/src/bootstrapper.h b/src/bootstrapper.h |
index d61c0313f2c1621d77d6901820c6ac480e1f28e9..fead45604fb46829d0b3a29893c139030d86110b 100644 |
--- a/src/bootstrapper.h |
+++ b/src/bootstrapper.h |
@@ -55,7 +55,7 @@ class SourceCodeCache BASE_EMBEDDED { |
bool Lookup(Vector<const char> name, Handle<SharedFunctionInfo>* handle) { |
for (int i = 0; i < cache_->length(); i+=2) { |
SeqOneByteString* str = SeqOneByteString::cast(cache_->get(i)); |
- if (str->IsEqualTo(name)) { |
+ if (str->IsUtf8EqualTo(name)) { |
*handle = Handle<SharedFunctionInfo>( |
SharedFunctionInfo::cast(cache_->get(i + 1))); |
return true; |