Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 2f51c9e832af7de712450e34480ac11dc8bd019b..27c936e7bebfa8e43bacbcac16d7ddc1d5138b64 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -15,16 +15,6 @@ namespace internal { |
#ifdef VERIFY_HEAP |
-void MaybeObject::Verify() { |
- Object* this_as_object; |
- if (ToObject(&this_as_object)) { |
- this_as_object->ObjectVerify(); |
- } else { |
- Failure::cast(this)->FailureVerify(); |
- } |
-} |
- |
- |
void Object::ObjectVerify() { |
if (IsSmi()) { |
Smi::cast(this)->SmiVerify(); |
@@ -48,11 +38,6 @@ void Smi::SmiVerify() { |
} |
-void Failure::FailureVerify() { |
- CHECK(IsFailure()); |
-} |
- |
- |
void HeapObject::HeapObjectVerify() { |
InstanceType instance_type = map()->instance_type(); |