Commit 52c14c8d authored by jochen's avatar jochen Committed by Commit bot

Disable invalid DCHECK_EQ in serializer.cc

BUG=none
R=mvstanton@chromium.org,yangguo@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/791363002

Cr-Commit-Position: refs/heads/master@{#25769}
parent dae6dfe0
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment