Home
last modified time | relevance | path

Searched refs:reloc_info_writer (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/ia32/
Ddeoptimizer-ia32.cc98 RelocInfoWriter reloc_info_writer( in EnsureRelocSpaceForLazyDeoptimization() local
105 byte* pos_before = reloc_info_writer.pos(); in EnsureRelocSpaceForLazyDeoptimization()
107 reloc_info_writer.Write(&rinfo); in EnsureRelocSpaceForLazyDeoptimization()
109 pos_before - reloc_info_writer.pos()); in EnsureRelocSpaceForLazyDeoptimization()
134 RelocInfoWriter reloc_info_writer(reloc_end_address, code_start_address); in DeoptimizeFunction() local
161 reloc_info_writer.Write(&rinfo); in DeoptimizeFunction()
162 ASSERT_GE(reloc_info_writer.pos(), in DeoptimizeFunction()
173 int new_reloc_size = reloc_end_address - reloc_info_writer.pos(); in DeoptimizeFunction()
174 memmove(code->relocation_start(), reloc_info_writer.pos(), new_reloc_size); in DeoptimizeFunction()
Dassembler-ia32.cc356 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler()
379 ASSERT(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
384 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
550 ASSERT(reloc_info_writer.last_pc() != NULL); in pop()
782 ASSERT(reloc_info_writer.last_pc() != NULL); in add()
2467 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer()
2479 memmove(rc_delta + reloc_info_writer.pos(), in GrowBuffer()
2480 reloc_info_writer.pos(), desc.reloc_size); in GrowBuffer()
2492 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2493 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
[all …]
Dassembler-ia32.h1089 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } in overflow()
1092 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
1099 return (buffer_ + buffer_size_) - reloc_info_writer.pos(); in relocation_writer_size()
1181 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-ia32.cc2573 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
2583 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/mips/
Dassembler-mips.cc307 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler()
339 ASSERT(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
344 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
1980 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
1986 memmove(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
1987 reloc_info_writer.pos(), desc.reloc_size); in GrowBuffer()
1994 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
1995 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2051 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
2053 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-mips.h946 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } in overflow()
949 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
1023 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1122 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-mips.cc5385 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
5395 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/x64/
Dassembler-x64.cc389 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler()
414 ASSERT(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
421 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer.pos()); in GetCode()
509 static_cast<int>((buffer_ + buffer_size_) - (reloc_info_writer.pos())); in GrowBuffer()
522 memmove(rc_delta + reloc_info_writer.pos(), in GrowBuffer()
523 reloc_info_writer.pos(), desc.reloc_size); in GrowBuffer()
536 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
537 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
3012 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-x64.h1415 return pc_ >= reloc_info_writer.pos() - kGap; in buffer_overflow()
1420 return static_cast<int>(reloc_info_writer.pos() - pc_); in available_space()
1631 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-x64.cc4181 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
4191 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/arm/
Dassembler-arm.cc326 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler()
359 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
2456 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
2462 memmove(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2463 reloc_info_writer.pos(), desc.reloc_size); in GrowBuffer()
2470 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2471 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2547 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
2549 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-arm.h1290 int buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1384 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-arm.cc3732 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
3742 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()