Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 36187558770dcd4ddd2171eccfce51b300f2b99e..9626efc4a760acaf84176bd0cd77770af790f9ad 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -389,6 +389,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 = |
static_cast<int>((buffer_ + buffer_size_) - (reloc_info_writer.pos())); |
@@ -4116,7 +4117,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
// Don't record psuedo relocation info for code age sequence mode. |
return; |
} |
- RelocInfo rinfo(pc_, rmode, data, NULL); |
+ RelocInfo rinfo(isolate(), pc_, rmode, data, NULL); |
reloc_info_writer.Write(&rinfo); |
} |