Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 0d0c4ae42802b8b7ec28ebc748ef5f0cca792895..f120a6233e205f69b0d599591a5f1c0ca762f788 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2776,6 +2776,7 @@ void Assembler::GrowBuffer() { |
// Set up new buffer. |
desc.buffer = NewArray<byte>(desc.buffer_size); |
+ desc.origin = this; |
desc.instr_size = pc_offset(); |
desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); |
@@ -2912,7 +2913,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
!serializer_enabled() && !emit_debug_code()) { |
return; |
} |
- RelocInfo rinfo(pc_, rmode, data, NULL); |
+ RelocInfo rinfo(isolate(), pc_, rmode, data, NULL); |
reloc_info_writer.Write(&rinfo); |
} |