Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 3345e30538f53924348848a92778926a93fb1b4a..b2c1c9d74b89c953cac7b64a1bd021d14eb8ec26 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -285,12 +285,10 @@ static void InitCoverageLog(); |
#endif |
Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) |
- : AssemblerBase(isolate, buffer, buffer_size), |
- code_targets_(100), |
- positions_recorder_(this) { |
- // Clear the buffer in debug mode unless it was provided by the |
- // caller in which case we can't be sure it's okay to overwrite |
- // existing code in it. |
+ : AssemblerBase(isolate, buffer, buffer_size), code_targets_(100) { |
+// Clear the buffer in debug mode unless it was provided by the |
+// caller in which case we can't be sure it's okay to overwrite |
+// existing code in it. |
#ifdef DEBUG |
if (own_buffer_) { |
memset(buffer_, 0xCC, buffer_size_); // int3 |
@@ -309,7 +307,6 @@ Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) |
void Assembler::GetCode(CodeDesc* desc) { |
// Finalize code (at this point overflow() may be true, but the gap ensures |
// that we are still not overlapping instructions and relocation info). |
- reloc_info_writer.Finish(); |
DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. |
// Set up code descriptor. |
desc->buffer = buffer_; |