Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index d2e66189d15c5c1f6b4a17d5cdb05458ef610c89..da1ed6a4420cb6195a1e234316e04aad38dd3087 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -1025,32 +1025,6 @@ void Script::ScriptVerify() { |
} |
-void JSFunctionResultCache::JSFunctionResultCacheVerify() { |
- JSFunction::cast(get(kFactoryIndex))->ObjectVerify(); |
- |
- int size = Smi::cast(get(kCacheSizeIndex))->value(); |
- CHECK(kEntriesIndex <= size); |
- CHECK(size <= length()); |
- CHECK_EQ(0, size % kEntrySize); |
- |
- int finger = Smi::cast(get(kFingerIndex))->value(); |
- CHECK(kEntriesIndex <= finger); |
- CHECK((finger < size) || (finger == kEntriesIndex && finger == size)); |
- CHECK_EQ(0, finger % kEntrySize); |
- |
- if (FLAG_enable_slow_asserts) { |
- for (int i = kEntriesIndex; i < size; i++) { |
- CHECK(!get(i)->IsTheHole()); |
- get(i)->ObjectVerify(); |
- } |
- for (int i = size; i < length(); i++) { |
- CHECK(get(i)->IsTheHole()); |
- get(i)->ObjectVerify(); |
- } |
- } |
-} |
- |
- |
void NormalizedMapCache::NormalizedMapCacheVerify() { |
FixedArray::cast(this)->FixedArrayVerify(); |
if (FLAG_enable_slow_asserts) { |