Commit 555450f0 authored by haraken's avatar haraken Committed by Commit bot

Remove asserts inserted to diagnose bug 537922

The assert is no longer hit in WebGL conformance tests.
It seems that the bug is already fixed.

BUG=537922

Review-Url: https://codereview.chromium.org/2024013002
Cr-Commit-Position: refs/heads/master@{#398225}
parent 7a8954a4
...@@ -997,17 +997,6 @@ void FreeList::addToFreeList(Address address, size_t size) ...@@ -997,17 +997,6 @@ void FreeList::addToFreeList(Address address, size_t size)
} else if (address[i] == reuseForbiddenZapValue) { } else if (address[i] == reuseForbiddenZapValue) {
forbiddenCount++; forbiddenCount++;
} else { } else {
// TODO(haraken): Remove these assertions once bug 537922 is fixed.
HeapObjectHeader* header = reinterpret_cast<HeapObjectHeader*>(&address[i]);
ASSERT(header->checkHeader());
if (header->isPromptlyFreed())
ASSERT_NOT_REACHED();
else if (header->isFree())
ASSERT_NOT_REACHED();
else if (header->isDead())
ASSERT_NOT_REACHED();
else if (header->isMarked())
ASSERT_NOT_REACHED();
ASSERT_NOT_REACHED(); ASSERT_NOT_REACHED();
} }
} }
......
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