Lines Matching refs:RelocInfo
56 void RelocInfo::apply(intptr_t delta) {
79 Address RelocInfo::target_address() {
85 Address RelocInfo::target_address_address() {
93 Address RelocInfo::constant_pool_entry_address() {
99 int RelocInfo::target_address_size() {
104 void RelocInfo::set_target_address(Address target,
119 Object* RelocInfo::target_object() {
125 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) {
131 void RelocInfo::set_target_object(Object* target,
148 Address RelocInfo::target_external_reference() {
149 DCHECK(rmode_ == RelocInfo::EXTERNAL_REFERENCE);
154 Address RelocInfo::target_internal_reference() {
160 Address RelocInfo::target_internal_reference_address() {
166 Address RelocInfo::target_runtime_entry(Assembler* origin) {
172 void RelocInfo::set_target_runtime_entry(Address target,
182 Handle<Cell> RelocInfo::target_cell_handle() {
183 DCHECK(rmode_ == RelocInfo::CELL);
189 Cell* RelocInfo::target_cell() {
190 DCHECK(rmode_ == RelocInfo::CELL);
195 void RelocInfo::set_target_cell(Cell* cell,
199 DCHECK(rmode_ == RelocInfo::CELL);
214 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) {
215 DCHECK(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
221 Code* RelocInfo::code_age_stub() {
222 DCHECK(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
229 void RelocInfo::set_code_age_stub(Code* stub,
232 DCHECK(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
238 Address RelocInfo::debug_call_address() {
245 void RelocInfo::set_debug_call_address(Address target) {
257 void RelocInfo::WipeOut() {
271 bool RelocInfo::IsPatchedReturnSequence() {
276 bool RelocInfo::IsPatchedDebugBreakSlotSequence() {
281 void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) {
282 RelocInfo::Mode mode = rmode();
283 if (mode == RelocInfo::EMBEDDED_OBJECT) {
286 } else if (RelocInfo::IsCodeTarget(mode)) {
288 } else if (mode == RelocInfo::CELL) {
290 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
292 } else if (mode == RelocInfo::INTERNAL_REFERENCE) {
294 } else if (RelocInfo::IsCodeAgeSequence(mode)) {
296 } else if (RelocInfo::IsDebugBreakSlot(mode) &&
306 void RelocInfo::Visit(Heap* heap) {
307 RelocInfo::Mode mode = rmode();
308 if (mode == RelocInfo::EMBEDDED_OBJECT) {
311 } else if (RelocInfo::IsCodeTarget(mode)) {
313 } else if (mode == RelocInfo::CELL) {
315 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
317 } else if (mode == RelocInfo::INTERNAL_REFERENCE) {
319 } else if (RelocInfo::IsCodeAgeSequence(mode)) {
321 } else if (RelocInfo::IsDebugBreakSlot(mode) &&
333 rmode_ = RelocInfo::NONE32;
339 rmode_ = RelocInfo::EXTERNAL_REFERENCE;
345 rmode_ = RelocInfo::INTERNAL_REFERENCE;
356 rmode_ = RelocInfo::EMBEDDED_OBJECT;
360 rmode_ = RelocInfo::NONE32;
367 rmode_ = RelocInfo::NONE32;
373 rmode_ = RelocInfo::NONE32;
396 RelocInfo::EMBEDDED_OBJECT);
404 void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, TypeFeedbackId id) {
405 if (rmode == RelocInfo::CODE_TARGET && !id.IsNone()) {
406 RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, id.ToInt());
407 } else if (!RelocInfo::IsNone(rmode)
408 && rmode != RelocInfo::CODE_AGE_SEQUENCE) {
416 RelocInfo::Mode rmode,
424 if (x.rmode_ == RelocInfo::INTERNAL_REFERENCE) {
429 if (!RelocInfo::IsNone(x.rmode_)) RecordRelocInfo(x.rmode_);
446 DCHECK(RelocInfo::IsNone(x.rmode_));
504 Isolate* isolate, Address pc, Address target, RelocInfo::Mode mode) {
532 RelocInfo::Mode rmode) {
552 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) {