Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 925ae48c5e8659b3a619a51d1eab16420219c15a..d9412722a6b2ff7ebb315dfadd68c560df03d704 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -301,11 +301,10 @@ static void InitCoverageLog(); |
#endif |
Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) |
- : AssemblerBase(isolate, buffer, buffer_size), |
- 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; see CodePatcher::CodePatcher(...). |
+ : AssemblerBase(isolate, buffer, buffer_size) { |
+// 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; see CodePatcher::CodePatcher(...). |
#ifdef DEBUG |
if (own_buffer_) { |
memset(buffer_, 0xCC, buffer_size_); // int3 |
@@ -323,7 +322,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_; |