Properly initialize desc->origin in the ARM assembler.
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/76073003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17865 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
53bd540ee0
commit
3d2f9cf3cf
@ -545,6 +545,7 @@ void Assembler::GetCode(CodeDesc* desc) {
|
|||||||
desc->buffer_size = buffer_size_;
|
desc->buffer_size = buffer_size_;
|
||||||
desc->instr_size = pc_offset();
|
desc->instr_size = pc_offset();
|
||||||
desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos();
|
desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos();
|
||||||
|
desc->origin = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user