Index: src/ppc/assembler-ppc.cc |
diff --git a/src/ppc/assembler-ppc.cc b/src/ppc/assembler-ppc.cc |
index 082381d3f443d5c6cfcd3de4455e32b3560e8c03..a814f24547361dc5f387e6fcf8750dadbfa84470 100644 |
--- a/src/ppc/assembler-ppc.cc |
+++ b/src/ppc/assembler-ppc.cc |
@@ -2323,6 +2323,7 @@ void Assembler::GrowBuffer(int needed) { |
// 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(); |
@@ -2401,7 +2402,7 @@ void Assembler::EmitRelocations() { |
RelocInfo::Mode rmode = it->rmode(); |
Address pc = buffer_ + it->position(); |
Code* code = NULL; |
- RelocInfo rinfo(pc, rmode, it->data(), code); |
+ RelocInfo rinfo(isolate(), pc, rmode, it->data(), code); |
// Fix up internal references now that they are guaranteed to be bound. |
if (RelocInfo::IsInternalReference(rmode)) { |