Home
last modified time | relevance | path

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

/external/v8/src/ia32/
Dassembler-ia32.cc1355 int fixup_pos = L->pos(); in bind_to() local
1358 long_at_put(fixup_pos, pos + Code::kHeaderSize - kHeapObjectTag); in bind_to()
1361 ASSERT(byte_at(fixup_pos - 1) == 0xE9); // jmp expected in bind_to()
1364 int imm32 = pos - (fixup_pos + sizeof(int32_t)); in bind_to()
1365 long_at_put(fixup_pos, imm32); in bind_to()
1370 int fixup_pos = L->near_link_pos(); in bind_to() local
1372 static_cast<int>(*reinterpret_cast<int8_t*>(addr_at(fixup_pos))); in bind_to()
1375 int disp = pos - fixup_pos - sizeof(int8_t); in bind_to()
1377 set_byte_at(fixup_pos, disp); in bind_to()
1379 L->link_to(fixup_pos + offset_to_next, Label::kNear); in bind_to()
/external/v8/src/mips/
Dassembler-mips.cc791 int32_t fixup_pos = L->pos(); in bind_to() local
792 int32_t dist = pos - fixup_pos; in bind_to()
794 Instr instr = instr_at(fixup_pos); in bind_to()
798 trampoline_pos = get_trampoline_entry(fixup_pos); in bind_to()
801 ASSERT((trampoline_pos - fixup_pos) <= kMaxBranchOffset); in bind_to()
802 target_at_put(fixup_pos, trampoline_pos); in bind_to()
803 fixup_pos = trampoline_pos; in bind_to()
804 dist = pos - fixup_pos; in bind_to()
806 target_at_put(fixup_pos, pos); in bind_to()
809 target_at_put(fixup_pos, pos); in bind_to()
/external/v8/src/arm/
Dassembler-arm.cc656 int fixup_pos = L->pos(); in bind_to() local
658 target_at_put(fixup_pos, pos); in bind_to()
673 int fixup_pos; in link_to() local
676 fixup_pos = link; in link_to()
677 link = target_at(fixup_pos); in link_to()
680 target_at_put(fixup_pos, appendix->pos()); in link_to()
/external/v8/src/x64/
Dassembler-x64.cc465 int fixup_pos = L->near_link_pos(); in bind_to() local
467 static_cast<int>(*reinterpret_cast<int8_t*>(addr_at(fixup_pos))); in bind_to()
469 int disp = pos - (fixup_pos + sizeof(int8_t)); in bind_to()
471 set_byte_at(fixup_pos, disp); in bind_to()
473 L->link_to(fixup_pos + offset_to_next, Label::kNear); in bind_to()