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,
120 Object* RelocInfo::target_object() {
126 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) {
132 void RelocInfo::set_target_object(Object* target,
149 Address RelocInfo::target_external_reference() {
150 DCHECK(rmode_ == RelocInfo::EXTERNAL_REFERENCE);
155 Address RelocInfo::target_internal_reference() {
161 Address RelocInfo::target_internal_reference_address() {
167 Address RelocInfo::target_runtime_entry(Assembler* origin) {
173 void RelocInfo::set_target_runtime_entry(Address target,
183 Handle<Cell> RelocInfo::target_cell_handle() {
184 DCHECK(rmode_ == RelocInfo::CELL);
190 Cell* RelocInfo::target_cell() {
191 DCHECK(rmode_ == RelocInfo::CELL);
196 void RelocInfo::set_target_cell(Cell* cell,
200 DCHECK(rmode_ == RelocInfo::CELL);
215 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) {
216 DCHECK(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
222 Code* RelocInfo::code_age_stub() {
223 DCHECK(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
230 void RelocInfo::set_code_age_stub(Code* stub,
233 DCHECK(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
239 Address RelocInfo::debug_call_address() {
246 void RelocInfo::set_debug_call_address(Address target) {
258 void RelocInfo::WipeOut() {
272 bool RelocInfo::IsPatchedReturnSequence() {
277 bool RelocInfo::IsPatchedDebugBreakSlotSequence() {
282 void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) {
283 RelocInfo::Mode mode = rmode();
284 if (mode == RelocInfo::EMBEDDED_OBJECT) {
287 } else if (RelocInfo::IsCodeTarget(mode)) {
289 } else if (mode == RelocInfo::CELL) {
291 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
293 } else if (mode == RelocInfo::INTERNAL_REFERENCE) {
295 } else if (RelocInfo::IsCodeAgeSequence(mode)) {
297 } else if (RelocInfo::IsDebugBreakSlot(mode) &&
307 void RelocInfo::Visit(Heap* heap) {
308 RelocInfo::Mode mode = rmode();
309 if (mode == RelocInfo::EMBEDDED_OBJECT) {
312 } else if (RelocInfo::IsCodeTarget(mode)) {
314 } else if (mode == RelocInfo::CELL) {
316 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
318 } else if (mode == RelocInfo::INTERNAL_REFERENCE) {
320 } else if (RelocInfo::IsCodeAgeSequence(mode)) {
322 } else if (RelocInfo::IsDebugBreakSlot(mode) &&
334 rmode_ = RelocInfo::NONE32;
340 rmode_ = RelocInfo::EXTERNAL_REFERENCE;
346 rmode_ = RelocInfo::INTERNAL_REFERENCE;
357 rmode_ = RelocInfo::EMBEDDED_OBJECT;
361 rmode_ = RelocInfo::NONE32;
368 rmode_ = RelocInfo::NONE32;
374 rmode_ = RelocInfo::NONE32;
397 RelocInfo::EMBEDDED_OBJECT);
405 void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, TypeFeedbackId id) {
406 if (rmode == RelocInfo::CODE_TARGET && !id.IsNone()) {
407 RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, id.ToInt());
408 } else if (!RelocInfo::IsNone(rmode)
409 && rmode != RelocInfo::CODE_AGE_SEQUENCE) {
417 RelocInfo::Mode rmode,
425 if (x.rmode_ == RelocInfo::INTERNAL_REFERENCE) {
430 if (!RelocInfo::IsNone(x.rmode_)) RecordRelocInfo(x.rmode_);
447 DCHECK(RelocInfo::IsNone(x.rmode_));
505 Isolate* isolate, Address pc, Address target, RelocInfo::Mode mode) {
533 void Operand::set_dispr(int32_t disp, RelocInfo::Mode rmode) {
547 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) {