Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index 8222ff66d85cfb11cc542ff6c0b6e850303ccdff..ba7e168025d160b7e3f5060ebedda0d955762274 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -491,7 +491,9 @@ RootIndexMap::RootIndexMap(Isolate* isolate) { |
if (LookupEntry(map_, heap_object, false) != NULL) { |
// Some root values are initialized to the empty FixedArray(); |
// Do not add them to the map. |
- DCHECK_EQ(isolate->heap()->empty_fixed_array(), heap_object); |
+ // TODO(yangguo): This assert is not true. Some roots like |
+ // instanceof_cache_answer can be e.g. null. |
+ // DCHECK_EQ(isolate->heap()->empty_fixed_array(), heap_object); |
} else { |
SetValue(LookupEntry(map_, heap_object, true), i); |
} |