Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 2aa0c21eb6d39692ee824b8a3aa5d682f2dc06e7..37e5c2649198de5989b665349d2b4b7173cba665 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -2932,12 +2932,10 @@ void PagedSpace::ReportStatistics() { |
// ----------------------------------------------------------------------------- |
// MapSpace implementation |
-// TODO(mvstanton): this is weird...the compiler can't make a vtable unless |
-// there is at least one non-inlined virtual function. I would prefer to hide |
-// the VerifyObject definition behind VERIFY_HEAP. |
+#ifdef VERIFY_HEAP |
void MapSpace::VerifyObject(HeapObject* object) { CHECK(object->IsMap()); } |
- |
+#endif |
Michael Starzinger
2015/11/04 09:18:25
nit: Two empty newlines here for consistency.
Igor Sheludko
2015/11/04 09:51:57
Done.
|
// ----------------------------------------------------------------------------- |
// LargeObjectIterator |