Index: src/a64/assembler-a64.cc |
diff --git a/src/a64/assembler-a64.cc b/src/a64/assembler-a64.cc |
index 305e698f5d69a5d8d580ea7a9f773cd98c01412e..721abab4b658233e8ca15da3fd4c7cf7e7b424d6 100644 |
--- a/src/a64/assembler-a64.cc |
+++ b/src/a64/assembler-a64.cc |
@@ -2645,9 +2645,6 @@ void Assembler::EmitVeneers(bool need_protection, int margin) { |
Label size_check; |
bind(&size_check); |
int veneer_pool_relocinfo_loc = pc_offset(); |
-#ifdef DEBUG |
- byte* reloc_writer_record_pos = reloc_info_writer.pos(); |
-#endif |
Label end; |
if (need_protection) { |
@@ -2689,7 +2686,6 @@ void Assembler::EmitVeneers(bool need_protection, int margin) { |
} |
// Record the veneer pool size. |
- ASSERT(reloc_writer_record_pos == reloc_info_writer.pos()); |
int pool_size = SizeOfCodeGeneratedSince(&size_check); |
RecordVeneerPool(veneer_pool_relocinfo_loc, pool_size); |