Searched refs:RelocInfo (Results 1 - 25 of 107) sorted by relevance

12345

/external/v8/test/cctest/
H A Dtest-reloc-info.cc36 byte* pc, RelocInfo::Mode mode, intptr_t data) {
37 RelocInfo rinfo(pc, mode, data, NULL);
56 RelocInfo::Mode mode = (i % 2 == 0) ?
57 RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION;
68 RelocIterator it(desc, RelocInfo::ModeMask(RelocInfo::POSITION));
71 RelocInfo::Mode mode = (i % 2 == 0) ?
72 RelocInfo::STATEMENT_POSITION : RelocInfo
[all...]
/external/v8/src/
H A Dobjects-visiting-inl.h99 int mode_mask = RelocInfo::kCodeTargetMask |
100 RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT) |
101 RelocInfo::ModeMask(RelocInfo::GLOBAL_PROPERTY_CELL) |
102 RelocInfo::ModeMask(RelocInfo::EXTERNAL_REFERENCE) |
103 RelocInfo::ModeMask(RelocInfo::JS_RETURN) |
104 RelocInfo
[all...]
H A Dassembler.cc118 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING";
183 // 0000 - 1100 : Short record for RelocInfo::Mode middle_tag + 2
184 // (The middle_tag encodes rmode - RelocInfo::LAST_COMPACT_ENUM,
228 const int RelocInfo::kMaxSmallPCDelta = kSmallPCDeltaMask;
312 void RelocInfoWriter::Write(const RelocInfo* rinfo) {
317 ASSERT(RelocInfo::NUMBER_OF_MODES - RelocInfo::LAST_COMPACT_ENUM <=
321 RelocInfo::Mode rmode = rinfo->rmode();
324 if (rmode == RelocInfo::EMBEDDED_OBJECT) {
326 } else if (rmode == RelocInfo
[all...]
H A Ddisassembler.cc154 it->rinfo()->rmode() == RelocInfo::INTERNAL_REFERENCE) {
168 // Collect RelocInfo for this instruction (prev_pc .. pc-1)
171 List<RelocInfo::Mode> rmodes(1);
175 if (RelocInfo::IsComment(it->rinfo()->rmode())) {
203 RelocInfo relocinfo(pcs[i], rmodes[i], datas[i], NULL);
215 RelocInfo::Mode rmode = relocinfo.rmode();
216 if (RelocInfo::IsPosition(rmode)) {
217 if (RelocInfo::IsStatementPosition(rmode)) {
222 } else if (rmode == RelocInfo::EMBEDDED_OBJECT) {
228 } else if (rmode == RelocInfo
[all...]
H A Dassembler.h157 class RelocInfo BASE_EMBEDDED {
218 RelocInfo() {} function in class:v8::internal::BASE_EMBEDDED
220 RelocInfo(byte* pc, Mode rmode, intptr_t data, Code* host) function in class:v8::internal::BASE_EMBEDDED
375 // is returned by RelocInfo::target_reference_address().
398 void Write(const RelocInfo* rinfo);
407 // Max size (bytes) of a written RelocInfo. Longest encoding is
453 RelocInfo* rinfo() {
478 bool SetMode(RelocInfo::Mode mode) {
484 RelocInfo rinfo_;
730 PositionState() : current_position(RelocInfo
[all...]
H A Dtype-info.h305 void GetRelocInfos(Handle<Code> code, ZoneList<RelocInfo>* infos);
306 void CreateDictionary(Handle<Code> code, ZoneList<RelocInfo>* infos);
307 void RelocateRelocInfos(ZoneList<RelocInfo>* infos,
310 void ProcessRelocInfos(ZoneList<RelocInfo>* infos);
H A Dvariables.cc70 initializer_position_(RelocInfo::kNoPosition),
H A Dserialize.h351 virtual void VisitRuntimeEntry(RelocInfo* rinfo) {
510 void VisitEmbeddedPointer(RelocInfo* target);
512 void VisitExternalReference(RelocInfo* rinfo);
513 void VisitCodeTarget(RelocInfo* target);
515 void VisitGlobalPropertyCell(RelocInfo* rinfo);
516 void VisitRuntimeEntry(RelocInfo* reloc);
H A Dincremental-marking.h136 RelocInfo* rinfo,
145 RelocInfo* rinfo,
H A Dincremental-marking-inl.h72 RelocInfo* rinfo,
H A Dincremental-marking.cc110 RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host);
120 RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host);
138 RelocInfo* rinfo,
170 void VisitEmbeddedPointer(RelocInfo* rinfo) {
171 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT);
179 void VisitCodeTarget(RelocInfo* rinfo) {
180 ASSERT(RelocInfo::IsCodeTarget(rinfo->rmode()));
191 void VisitDebugTarget(RelocInfo* rinf
[all...]
H A Dtype-info.cc567 int mask = RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT);
569 RelocInfo* info = it.rinfo();
594 ZoneList<RelocInfo> infos(16);
606 ZoneList<RelocInfo>* infos) {
607 int mask = RelocInfo::ModeMask(RelocInfo::CODE_TARGET_WITH_ID);
615 ZoneList<RelocInfo>* infos) {
629 void TypeFeedbackOracle::RelocateRelocInfos(ZoneList<RelocInfo>* infos,
633 RelocInfo* inf
[all...]
/external/v8/src/arm/
H A Dassembler-arm-inl.h57 void RelocInfo::apply(intptr_t delta) {
58 if (RelocInfo::IsInternalReference(rmode_)) {
68 Address RelocInfo::target_address() {
74 Address RelocInfo::target_address_address() {
82 int RelocInfo::target_address_size() {
87 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) {
98 Object* RelocInfo::target_object() {
104 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) {
110 Object** RelocInfo::target_object_address() {
116 void RelocInfo
[all...]
H A Ddebug-arm.cc82 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) {
83 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode()));
162 __ mov(r0, Operand(0, RelocInfo::NONE)); // no arguments
H A Dbuiltins-arm.cc141 __ mov(scratch3, Operand(0, RelocInfo::NONE));
319 __ cmp(r0, Operand(0, RelocInfo::NONE));
501 __ Jump(array_code, RelocInfo::CODE_TARGET);
534 __ Jump(array_code, RelocInfo::CODE_TARGET);
566 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET);
590 __ cmp(r0, Operand(0, RelocInfo::NONE));
634 __ cmp(r4, Operand(0, RelocInfo::NONE));
974 RelocInfo::CODE_TARGET, CALL_FUNCTION, CALL_AS_METHOD);
1060 __ mov(cp, Operand(0, RelocInfo::NONE));
1306 __ mov(r4, Operand(0, RelocInfo
[all...]
/external/v8/src/mips/
H A Dassembler-mips-inl.h51 Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) {
61 rmode_ = RelocInfo::EXTERNAL_REFERENCE;
68 rmode_ = RelocInfo::NONE;
93 // RelocInfo.
95 void RelocInfo::apply(intptr_t delta) {
113 Address RelocInfo::target_address() {
119 Address RelocInfo::target_address_address() {
143 int RelocInfo::target_address_size() {
148 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) {
159 Object* RelocInfo
[all...]
H A Dassembler-mips.cc174 // Implementation of RelocInfo.
176 const int RelocInfo::kApplyMask = RelocInfo::kCodeTargetMask |
177 1 << RelocInfo::INTERNAL_REFERENCE;
180 bool RelocInfo::IsCodedSpecially() {
189 void RelocInfo::PatchCode(byte* instructions, int instruction_count) {
203 void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) {
220 rmode_ = RelocInfo::EMBEDDED_OBJECT;
224 rmode_ = RelocInfo::NONE;
849 bool Assembler::MustUseReg(RelocInfo
[all...]
/external/v8/src/ia32/
H A Dassembler-ia32-inl.h50 void RelocInfo::apply(intptr_t delta) {
76 Address RelocInfo::target_address() {
82 Address RelocInfo::target_address_address() {
90 int RelocInfo::target_address_size() {
95 void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) {
106 Object* RelocInfo::target_object() {
112 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) {
118 Object** RelocInfo::target_object_address() {
124 void RelocInfo::set_target_object(Object* target, WriteBarrierMode mode) {
137 Address* RelocInfo
[all...]
H A Dassembler-ia32.h278 bool is_zero() const { return x_ == 0 && rmode_ == RelocInfo::NONE; }
280 return -128 <= x_ && x_ < 128 && rmode_ == RelocInfo::NONE;
283 return -32768 <= x_ && x_ < 32768 && rmode_ == RelocInfo::NONE;
290 RelocInfo::Mode rmode_;
318 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
323 RelocInfo::Mode rmode = RelocInfo::NONE);
330 RelocInfo::Mode rmode = RelocInfo::NONE);
336 RelocInfo
[all...]
H A Dassembler-ia32.cc166 // Implementation of RelocInfo
169 const int RelocInfo::kApplyMask =
170 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY |
171 1 << RelocInfo::JS_RETURN | 1 << RelocInfo::INTERNAL_REFERENCE |
172 1 << RelocInfo::DEBUG_BREAK_SLOT;
175 bool RelocInfo::IsCodedSpecially() {
184 void RelocInfo::PatchCode(byte* instructions, int instruction_count) {
197 void RelocInfo
[all...]
H A Ddeoptimizer-ia32.cc66 if (pc_delta <= RelocInfo::kMaxSmallPCDelta) {
79 int comment_reloc_size = RelocInfo::kMinRelocCommentSize;
101 = reinterpret_cast<intptr_t>(RelocInfo::kFillerCommentString);
102 RelocInfo rinfo(0, RelocInfo::COMMENT, comment_string, NULL);
108 ASSERT(RelocInfo::kMinRelocCommentSize ==
155 patcher.masm()->call(deopt_entry, RelocInfo::NONE);
157 RelocInfo rinfo(call_address + 1, // 1 after the call opcode.
158 RelocInfo::RUNTIME_ENTRY,
/external/v8/src/x64/
H A Dassembler-x64-inl.h51 void Assembler::emitq(uint64_t x, RelocInfo::Mode rmode) {
53 if (rmode != RelocInfo::NONE) {
67 RelocInfo::Mode rmode,
69 ASSERT(RelocInfo::IsCodeTarget(rmode));
70 if (rmode == RelocInfo::CODE_TARGET && ast_id != kNoASTId) {
71 RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, ast_id);
203 // Implementation of RelocInfo
206 void RelocInfo::apply(intptr_t delta) {
218 Address RelocInfo::target_address() {
228 Address RelocInfo
[all...]
H A Dassembler-x64.h710 void movq(Register dst, void* ptr, RelocInfo::Mode rmode);
711 void movq(Register dst, int64_t value, RelocInfo::Mode rmode);
712 void movq(Register dst, const char* s, RelocInfo::Mode rmode);
715 void movq(Register dst, Handle<Object> handle, RelocInfo::Mode rmode);
734 void load_rax(void* ptr, RelocInfo::Mode rmode);
1072 void store_rax(void* dst, RelocInfo::Mode mode);
1202 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
1222 void jmp(Handle<Code> target, RelocInfo::Mode rmode);
1234 void j(Condition cc, Handle<Code> target, RelocInfo
[all...]
H A Dmacro-assembler-x64.h347 RelocInfo::Mode rmode,
385 RelocInfo::NONE);
810 void Jump(Address destination, RelocInfo::Mode rmode);
812 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
814 void Call(Address destination, RelocInfo::Mode rmode);
817 RelocInfo::Mode rmode,
821 int CallSize(Address destination, RelocInfo::Mode rmode) {
841 Call(self, RelocInfo::CODE_TARGET);
1469 masm->call(x64_coverage_function, RelocInfo::RUNTIME_ENTRY); \
H A Dlithium-codegen-x64.cc163 __ movq(kScratchRegister, kSlotsZapValue, RelocInfo::NONE);
254 __ Jump(jump_table_[i].address, RelocInfo::RUNTIME_ENTRY);
452 RelocInfo::Mode mode,
473 RelocInfo::Mode mode,
549 __ Jump(entry, RelocInfo::RUNTIME_ENTRY);
666 LPointerMap empty_pointers(RelocInfo::kNoPosition);
679 if (position == RelocInfo::kNoPosition) return;
727 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
732 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
737 CallCode(stub.GetCode(), RelocInfo
[all...]

Completed in 452 milliseconds

12345