Lines Matching refs:pos
359 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos();
542 // generated code. pos() is the position the label refers to.
545 // to be generated; pos() is the position of the last
553 int Assembler::target_at(int pos) {
554 Instr instr = instr_at(pos);
566 return pos + kPcLoadDelta + imm26;
570 void Assembler::target_at_put(int pos, int target_pos) {
571 Instr instr = instr_at(pos);
576 instr_at_put(pos, target_pos + (Code::kHeaderSize - kHeapObjectTag));
579 int imm26 = target_pos - (pos + kPcLoadDelta);
591 instr_at_put(pos, instr | (imm24 & kImm24Mask));
599 PrintF("bound label to %d\n", L->pos());
604 PrintF("@ %d ", l.pos());
605 Instr instr = instr_at(l.pos());
648 PrintF("label in inconsistent state (pos = %d)\n", L->pos_);
653 void Assembler::bind_to(Label* L, int pos) {
654 ASSERT(0 <= pos && pos <= pc_offset()); // must have a valid binding position
656 int fixup_pos = L->pos();
658 target_at_put(fixup_pos, pos);
660 L->bind_to(pos);
664 if (pos > last_bound_pos_)
665 last_bound_pos_ = pos;
674 int link = L->pos();
680 target_at_put(fixup_pos, appendix->pos());
698 int link = target_at(L->pos());
992 target_pos = L->pos();
995 target_pos = L->pos(); // L's link
1012 target_pos = L->pos();
1015 target_pos = L->pos(); // L's link
2456 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos();
2462 memmove(reloc_info_writer.pos() + rc_delta,
2463 reloc_info_writer.pos(), desc.reloc_size);
2470 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta,