Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 22c75a1aeb50c6abe00cab33c9b2b89c2febaaef..8d529506f22c352c8f6723c2341fdcf6859a512e 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1341,7 +1341,7 @@ bool Genesis::CompileScriptCached(Vector<const char> name, |
// If we can't find the function in the cache, we compile a new |
// function and insert it into the cache. |
if (cache == NULL || !cache->Lookup(name, &function_info)) { |
- ASSERT(source->IsAsciiRepresentation()); |
+ ASSERT(source->IsOneByteRepresentation()); |
Handle<String> script_name = factory->NewStringFromUtf8(name); |
function_info = Compiler::Compile( |
source, |