Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 591ae3c88992d83cd4c1b4a2619ec7945863fe21..da2db62684331e60f06070fbccce74f5d2d388f8 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -2953,11 +2953,6 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
ASSERT(!RelocInfo::IsNone(rmode)); |
if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
// Don't record external references unless the heap will be serialized. |
-#ifdef DEBUG |
- if (!Serializer::enabled()) { |
- Serializer::TooLateToEnableNow(); |
- } |
-#endif |
if (!Serializer::enabled() && !emit_debug_code()) { |
return; |
} |