| Index: src/x87/assembler-x87.cc
|
| diff --git a/src/x87/assembler-x87.cc b/src/x87/assembler-x87.cc
|
| index 8c3d8b8065e353713abc863c1aa5fc6881b2b881..53919486d667ff7c63f1965c635fb7d6c37dbbe5 100644
|
| --- a/src/x87/assembler-x87.cc
|
| +++ b/src/x87/assembler-x87.cc
|
| @@ -1945,6 +1945,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());
|
|
|
| @@ -2080,7 +2081,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);
|
| }
|
|
|
|
|