Home
last modified time | relevance | path

Searched refs:pc_ (Results 1 – 16 of 16) sorted by relevance

/external/webkit/V8Binding/v8/src/ia32/
Dassembler-ia32.cc158 *(pc_ + i) = *(instructions + i); in PatchCode()
170 CodePatcher patcher(pc_, code_size); in PatchCodeWithCall()
250 *pc_++ = (x)
297 pc_ = buffer_; in Assembler()
298 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler()
326 ASSERT(pc_ <= reloc_info_writer.pos()); // no overlap in GetCode()
349 last_pc_ = pc_; in cpuid()
357 last_pc_ = pc_; in pushad()
364 last_pc_ = pc_; in popad()
371 last_pc_ = pc_; in pushfd()
[all …]
Dassembler-ia32-inl.h53 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
58 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply()
62 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
70 return Assembler::target_address_at(pc_); in target_address()
76 return reinterpret_cast<Address>(pc_); in target_address_address()
82 Assembler::set_target_address_at(pc_, target); in set_target_address()
88 return *reinterpret_cast<Object**>(pc_); in target_object()
94 return reinterpret_cast<Object**>(pc_); in target_object_address()
100 *reinterpret_cast<Object**>(pc_) = target; in set_target_object()
106 return reinterpret_cast<Address*>(pc_); in target_reference_address()
[all …]
Dassembler-ia32.h747 int pc_offset() const { return pc_ - buffer_; } in pc_offset()
754 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } in overflow()
757 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
831 byte* pc_; // the program counter; moves forward variable
Dmacro-assembler-ia32.cc1186 ASSERT(masm_.pc_ == address_ + size_); in ~CodePatcher()
/external/webkit/V8Binding/v8/src/x64/
Dassembler-x64.cc177 Address patch_site = pc_; in PatchCodeWithCall()
194 *(pc_ + i) = *(instructions + i); in PatchCode()
287 pc_ = buffer_; in Assembler()
288 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler()
316 ASSERT(pc_ <= reloc_info_writer.pos()); // no overlap in GetCode()
409 pc_ += pc_delta; in GrowBuffer()
438 pc_[0] = adr.buf_[0] | code << 3; in emit_operand()
441 for (unsigned i = 1; i < length; i++) pc_[i] = adr.buf_[i]; in emit_operand()
442 pc_ += length; in emit_operand()
450 last_pc_ = pc_; in arithmetic_op()
[all …]
Dassembler-x64-inl.h53 Memory::uint32_at(pc_) = x; in emitl()
54 pc_ += sizeof(uint32_t); in emitl()
59 Memory::uint64_at(pc_) = x; in emitq()
63 pc_ += sizeof(uint64_t); in emitq()
68 Memory::uint16_at(pc_) = x; in emitw()
69 pc_ += sizeof(uint16_t); in emitw()
182 intptr_t* p = reinterpret_cast<intptr_t*>(pc_); in apply()
190 return Assembler::target_address_at(pc_); in target_address()
196 return reinterpret_cast<Address>(pc_); in target_address_address()
202 Assembler::set_target_address_at(pc_, target); in set_target_address()
[all …]
Dassembler-x64.h1045 int pc_offset() const { return pc_ - buffer_; } in pc_offset()
1052 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } in overflow()
1055 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
1082 void emit(byte x) { *pc_++ = x; } in emit()
1261 byte* pc_; // the program counter; moves forward variable
/external/webkit/V8Binding/v8/src/
Dregexp-macro-assembler-irregexp-inl.h46 ASSERT(pc_ <= buffer_.length()); in Emit()
47 if (pc_ + 3 >= buffer_.length()) { in Emit()
50 *reinterpret_cast<uint32_t*>(buffer_.start() + pc_) = word; in Emit()
51 pc_ += 4; in Emit()
56 ASSERT(pc_ <= buffer_.length()); in Emit16()
57 if (pc_ + 1 >= buffer_.length()) { in Emit16()
60 *reinterpret_cast<uint16_t*>(buffer_.start() + pc_) = word; in Emit16()
61 pc_ += 2; in Emit16()
66 ASSERT(pc_ <= buffer_.length()); in Emit32()
67 if (pc_ + 3 >= buffer_.length()) { in Emit32()
[all …]
Dregexp-macro-assembler-irregexp.cc43 pc_(0), in RegExpMacroAssemblerIrregexp()
69 *reinterpret_cast<uint32_t*>(buffer_.start() + fixup) = pc_; in Bind()
72 l->bind_to(pc_); in Bind()
85 l->link_to(pc_); in EmitOrLink()
180 if (advance_current_end_ == pc_) { in GoTo()
182 pc_ = advance_current_start_; in GoTo()
213 advance_current_start_ = pc_; in AdvanceCurrentPosition()
216 advance_current_end_ = pc_; in AdvanceCurrentPosition()
442 return pc_; in length()
Dassembler.cc274 rinfo_.pc_ += *pos_ >> kTagBits; in ReadTaggedPC()
279 rinfo_.pc_ += *--pos_; in AdvanceReadPC()
304 rinfo_.pc_ += pc_jump << kSmallPCDeltaBits; in AdvanceReadVariableLengthPCJump()
393 rinfo_.pc_ = code->instruction_start(); in RelocIterator()
406 rinfo_.pc_ = desc.buffer; in RelocIterator()
460 PrintF("%p %s", pc_, RelocModeName(rmode_)); in Print()
Dassembler.h146 : pc_(pc), rmode_(rmode), data_(data) { in RelocInfo()
180 byte* pc() const { return pc_; } in pc()
181 void set_pc(byte* pc) { pc_ = pc; } in set_pc()
244 byte* pc_;
Dregexp-macro-assembler-irregexp.h123 int pc_; variable
Dbootstrapper.cc147 static List<int> pc_; member in v8::internal::PendingFixups
156 List<int> PendingFixups::pc_(0); member in v8::internal::PendingFixups
168 pc_.Add(unresolved->at(i).pc); in Add()
203 Address pc = code->instruction_start() + pc_[i]; in Process()
240 pc_.Clear(); in Clear()
/external/webkit/V8Binding/v8/src/arm/
Dassembler-arm-inl.h56 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply()
66 return Assembler::target_address_at(pc_); in target_address()
72 return reinterpret_cast<Address>(Assembler::target_address_address_at(pc_)); in target_address_address()
78 Assembler::set_target_address_at(pc_, target); in set_target_address()
84 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_)); in target_object()
90 return reinterpret_cast<Object**>(Assembler::target_address_address_at(pc_)); in target_object_address()
96 Assembler::set_target_address_at(pc_, reinterpret_cast<Address>(target)); in set_target_object()
102 return reinterpret_cast<Address*>(Assembler::target_address_address_at(pc_)); in target_reference_address()
215 *reinterpret_cast<Instr*>(pc_) = x; in emit()
216 pc_ += kInstrSize; in emit()
Dassembler-arm.cc269 pc_ = buffer_; in Assembler()
270 reloc_info_writer.Reposition(buffer_ + buffer_size, pc_); in Assembler()
789 reloc_info_writer.last_pc() <= (pc_ - pattern_size) && in add()
791 instr_at(pc_ - 1 * kInstrSize) == kPopInstruction && in add()
792 (instr_at(pc_ - 2 * kInstrSize) & ~RdMask) == kPushRegPattern) { in add()
793 pc_ -= 2 * kInstrSize; in add()
988 reloc_info_writer.last_pc() <= (pc_ - pattern_size) && in ldr()
990 instr_at(pc_ - 1 * kInstrSize) == (kPopRegPattern | dst.code() * B12) && in ldr()
991 instr_at(pc_ - 2 * kInstrSize) == (kPushRegPattern | dst.code() * B12)) { in ldr()
992 pc_ -= 2 * kInstrSize; in ldr()
[all …]
Dassembler-arm.h666 int pc_offset() const { return pc_ - buffer_; } in pc_offset()
671 int buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
717 byte* pc_; // the program counter; moves forward variable