Lines Matching refs:entry

24     entry: InstPtr,
144 let mut dotstar_patch = Patch { hole: Hole::None, entry: 0 };
149 self.compiled.start = dotstar_patch.entry;
155 self.fill(dotstar_patch.hole, patch.entry);
157 self.compiled.start = patch.entry;
175 let mut dotstar_patch = Patch { hole: Hole::None, entry: 0 };
178 self.compiled.start = dotstar_patch.entry;
188 let Patch { hole, entry } =
193 prev_hole = self.fill_split(split, Some(entry), None);
196 let Patch { hole, entry } =
198 self.fill(prev_hole, entry);
226 /// `entry` member of the patch refers to the first instruction
227 /// (the entry point), while the `hole` member contains zero or
238 /// entry \ /
267 /// instruction, and so no patch.entry value makes sense.
412 let entry = self.insts.len();
415 self.fill(hole, patch.entry);
418 Ok(Some(Patch { hole, entry }))
447 Ok(Some(Patch { hole, entry: self.insts.len() - 1 }))
453 Ok(Some(Patch { hole, entry: self.insts.len() - 1 }))
473 Ok(Some(Patch { hole, entry: self.insts.len() - 1 }))
508 Ok(Some(Patch { hole: Hole::Many(holes), entry: first_split_entry }))
513 Ok(Some(Patch { hole, entry: self.insts.len() - 1 }))
521 let Patch { mut hole, entry } = loop {
533 self.fill(hole, p.entry);
537 Ok(Some(Patch { hole, entry }))
546 // Initial entry point is always the first split.
564 if let Some(Patch { hole, entry }) = self.c(e)? {
566 prev_hole = (self.fill_split(split, Some(entry), None), false);
573 if let Some(Patch { hole, entry }) = self.c(&exprs[exprs.len() - 1])? {
576 self.fill_split(prev_hole.0, None, Some(entry));
578 self.fill(prev_hole.0, entry);
586 Ok(Some(Patch { hole: Hole::Many(holes), entry: first_split_entry }))
614 let Patch { hole: hole_rep, entry: entry_rep } = match self.c(expr)? {
624 Ok(Some(Patch { hole: Hole::Many(holes), entry: split_entry }))
634 let Patch { hole: hole_rep, entry: entry_rep } = match self.c(expr)? {
645 Ok(Some(Patch { hole: split_hole, entry: split_entry }))
653 let Patch { hole: hole_rep, entry: entry_rep } = match self.c(expr)? {
665 Ok(Some(Patch { hole: split_hole, entry: entry_rep }))
682 self.fill(patch_concat.hole, patch_rep.entry);
683 Ok(Some(Patch { hole: patch_rep.hole, entry: patch_concat.entry }))
705 let initial_entry = patch_concat.entry;
730 let Patch { hole, entry } = match self.c(expr)? {
736 holes.push(self.fill_split(split, Some(entry), None));
738 holes.push(self.fill_split(split, None, Some(entry)));
742 Ok(Some(Patch { hole: Hole::Many(holes), entry: initial_entry }))
749 Patch { hole: Hole::None, entry: self.insts.len() }
1001 let Patch { hole, entry } = self.c_utf8_seq(&utf8_seq)?;
1003 self.c.fill(last_split, entry);
1006 initial_entry = Some(entry);
1014 let Patch { hole, entry } = self.c_utf8_seq(&utf8_seq)?;
1017 self.c.fill_split(last_split, Some(entry), None);
1022 Ok(Patch { hole: Hole::Many(holes), entry: initial_entry.unwrap() })
1070 Ok(Patch { hole: last_hole, entry: from_inst })
1126 if let Some(entry) = self.dense.get(*pos) {
1127 if entry.key == key {
1128 return Some(entry.pc);