Index: src/mips64/assembler-mips64.cc |
diff --git a/src/mips64/assembler-mips64.cc b/src/mips64/assembler-mips64.cc |
index 0675a0759f6e331b4a74757077528cfed387ca10..cd54569a1d53cc1cc061757e03988c82906ab1bd 100644 |
--- a/src/mips64/assembler-mips64.cc |
+++ b/src/mips64/assembler-mips64.cc |
@@ -3024,6 +3024,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 = |
@@ -3103,7 +3104,7 @@ void Assembler::emit_code_stub_address(Code* stub) { |
void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
// We do not try to reuse pool constants. |
- RelocInfo rinfo(pc_, rmode, data, NULL); |
+ RelocInfo rinfo(isolate(), pc_, rmode, data, NULL); |
if (rmode >= RelocInfo::COMMENT && |
rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_CONSTRUCT_CALL) { |
// Adjust code for new modes. |
@@ -3120,10 +3121,8 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
} |
DCHECK(buffer_space() >= kMaxRelocSize); // Too late to grow buffer here. |
if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { |
- RelocInfo reloc_info_with_ast_id(pc_, |
- rmode, |
- RecordedAstId().ToInt(), |
- NULL); |
+ RelocInfo reloc_info_with_ast_id(isolate(), pc_, rmode, |
+ RecordedAstId().ToInt(), NULL); |
ClearRecordedAstId(); |
reloc_info_writer.Write(&reloc_info_with_ast_id); |
} else { |