Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index cbbc051a1f6ad64f01a87aae934711f9a7a1afa6..db7c6151331623e67184ff82bf09042ae67c4edf 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2815,6 +2815,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(); |
@@ -2893,7 +2894,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. |
@@ -2910,10 +2911,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 { |