Lines Matching refs:target
240 void Fork(Label& target) {
241 LabelledInstrImpl(RegExpInstruction::Opcode::FORK, target);
244 void Jmp(Label& target) {
245 LabelledInstrImpl(RegExpInstruction::Opcode::JMP, target);
252 void Bind(Label& target) {
253 DCHECK_EQ(target.state_, Label::UNBOUND);
257 while (target.unbound_patch_list_begin_ != -1) {
258 RegExpInstruction& inst = code_[target.unbound_patch_list_begin_];
262 target.unbound_patch_list_begin_ = inst.payload.pc;
266 target.state_ = Label::BOUND;
267 target.bound_index_ = index;
273 void LabelledInstrImpl(RegExpInstruction::Opcode op, Label& target) {
277 if (target.state_ == Label::BOUND) {
278 result.payload.pc = target.bound_index_;
280 DCHECK_EQ(target.state_, Label::UNBOUND);
284 result.payload.pc = target.unbound_patch_list_begin_;
286 target.unbound_patch_list_begin_ = new_list_begin;