Home
last modified time | relevance | path

Searched refs:fixup_pos (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/ia32/
Dassembler-ia32.cc1523 int fixup_pos = L->pos(); in bind_to() local
1525 long_at_put(fixup_pos, reinterpret_cast<int>(buffer_ + pos)); in bind_to()
1526 internal_reference_positions_.push_back(fixup_pos); in bind_to()
1529 long_at_put(fixup_pos, pos + Code::kHeaderSize - kHeapObjectTag); in bind_to()
1532 DCHECK_EQ(byte_at(fixup_pos - 1), 0xE9); // jmp expected in bind_to()
1535 int imm32 = pos - (fixup_pos + sizeof(int32_t)); in bind_to()
1536 long_at_put(fixup_pos, imm32); in bind_to()
1541 int fixup_pos = L->near_link_pos(); in bind_to() local
1543 static_cast<int>(*reinterpret_cast<int8_t*>(addr_at(fixup_pos))); in bind_to()
1546 int disp = pos - fixup_pos - sizeof(int8_t); in bind_to()
[all …]
/external/v8/src/s390/
Dassembler-s390.cc525 int fixup_pos = L->pos(); in bind_to() local
527 int32_t offset = pos - fixup_pos; in bind_to()
528 int maxReach = max_reach_from(fixup_pos); in bind_to()
532 target_at_put(fixup_pos, pos, &is_branch); in bind_to()
/external/v8/src/mips/
Dassembler-mips.cc1079 int32_t fixup_pos = L->pos(); in bind_to() local
1080 int32_t dist = pos - fixup_pos; in bind_to()
1084 Instr instr = instr_at(fixup_pos); in bind_to()
1086 target_at_put(fixup_pos, pos, is_internal); in bind_to()
1092 trampoline_pos = get_trampoline_entry(fixup_pos); in bind_to()
1095 CHECK((trampoline_pos - fixup_pos) <= branch_offset); in bind_to()
1096 target_at_put(fixup_pos, trampoline_pos, false); in bind_to()
1097 fixup_pos = trampoline_pos; in bind_to()
1099 target_at_put(fixup_pos, pos, false); in bind_to()
1101 target_at_put(fixup_pos, pos, false); in bind_to()
/external/v8/src/ppc/
Dassembler-ppc.cc576 int fixup_pos = L->pos(); in bind_to() local
577 int32_t offset = pos - fixup_pos; in bind_to()
578 int maxReach = max_reach_from(fixup_pos); in bind_to()
586 target_at_put(fixup_pos, trampoline_pos); in bind_to()
588 target_at_put(fixup_pos, pos, &is_branch); in bind_to()
/external/v8/src/mips64/
Dassembler-mips64.cc1040 int fixup_pos = L->pos(); in bind_to() local
1041 int dist = pos - fixup_pos; in bind_to()
1045 Instr instr = instr_at(fixup_pos); in bind_to()
1047 target_at_put(fixup_pos, pos, is_internal); in bind_to()
1053 trampoline_pos = get_trampoline_entry(fixup_pos); in bind_to()
1056 CHECK((trampoline_pos - fixup_pos) <= branch_offset); in bind_to()
1057 target_at_put(fixup_pos, trampoline_pos, false); in bind_to()
1058 fixup_pos = trampoline_pos; in bind_to()
1060 target_at_put(fixup_pos, pos, false); in bind_to()
1064 target_at_put(fixup_pos, pos, false); in bind_to()
/external/v8/src/x64/
Dassembler-x64.cc555 int fixup_pos = L->near_link_pos(); in bind_to() local
557 static_cast<int>(*reinterpret_cast<int8_t*>(addr_at(fixup_pos))); in bind_to()
559 int disp = pos - (fixup_pos + sizeof(int8_t)); in bind_to()
561 set_byte_at(fixup_pos, disp); in bind_to()
563 L->link_to(fixup_pos + offset_to_next, Label::kNear); in bind_to()
575 for (auto fixup_pos : pos_vector) { in bind_to() local
576 int disp = pos - (fixup_pos + sizeof(int8_t)); in bind_to()
578 set_byte_at(fixup_pos, disp); in bind_to()
/external/v8/src/arm/
Dassembler-arm.cc989 int fixup_pos = L->pos(); in bind_to() local
991 target_at_put(fixup_pos, pos); in bind_to()