Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 5792f6c4032ae05a68b7a00f7bd24cbb9d00d687..8e2fe2fb0315c2e06d608697f8cf2596697f80ad 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -3255,11 +3255,9 @@ void MarkCompactCollector::ReportDeleteIfNeeded(HeapObject* obj, |
GDBJITInterface::RemoveCode(reinterpret_cast<Code*>(obj)); |
} |
#endif |
-#ifdef ENABLE_LOGGING_AND_PROFILING |
if (obj->IsCode()) { |
PROFILE(isolate, CodeDeleteEvent(obj->address())); |
} |
-#endif |
} |