Index: src/bootstrapper.h |
diff --git a/src/bootstrapper.h b/src/bootstrapper.h |
index 14dd1bd99753d78a44541286c0625e3e0cfc24dc..e683a45f048c6a32349fb66e1c26f4fc4333f539 100644 |
--- a/src/bootstrapper.h |
+++ b/src/bootstrapper.h |
@@ -73,6 +73,7 @@ class SourceCodeCache BASE_EMBEDDED { |
cache_->CopyTo(0, *new_array, 0, cache_->length()); |
cache_ = *new_array; |
Handle<String> str = factory->NewStringFromAscii(name, TENURED); |
+ ASSERT(!str.is_null()); |
cache_->set(length, *str); |
cache_->set(length + 1, *shared); |
Script::cast(shared->script())->set_type(Smi::FromInt(type_)); |