A64: Remove an invalid assertion about the position of the reloc_info_writer.
authoralexandre.rames@arm.com <alexandre.rames@arm.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 13 Mar 2014 10:28:53 +0000 (10:28 +0000)
committeralexandre.rames@arm.com <alexandre.rames@arm.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 13 Mar 2014 10:28:53 +0000 (10:28 +0000)
Review URL: https://codereview.chromium.org/196413007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19887 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/a64/assembler-a64.cc

index 091b110..5843c2e 100644 (file)
@@ -2653,9 +2653,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) {
@@ -2697,7 +2694,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);