Lines Matching refs:pool
87 pub fn display<'a>(&'a self, pool: &'a ValueListPool) -> DisplayJumpTable<'a> { in display()
88 DisplayJumpTable { jt: self, pool } in display()
95 pool: &'a ValueListPool, field
100 write!(fmt, "{}, [", self.jt.default_block().display(self.pool))?; in fmt()
102 write!(fmt, "{}", first.display(self.pool))?; in fmt()
104 write!(fmt, ", {}", block.display(self.pool))?; in fmt()
122 let mut pool = ValueListPool::default(); in empty() localVariable
123 let def = BlockCall::new(Block::new(0), core::iter::empty(), &mut pool); in empty()
132 assert_eq!(jt.display(&pool).to_string(), "block0, []"); in empty()
140 let mut pool = ValueListPool::default(); in insert() localVariable
149 let def = BlockCall::new(e0, core::iter::empty(), &mut pool); in insert()
150 let b1 = BlockCall::new(e1, core::iter::once(v0.into()), &mut pool); in insert()
151 let b2 = BlockCall::new(e2, core::iter::empty(), &mut pool); in insert()
152 let b3 = BlockCall::new(e1, core::iter::once(v1.into()), &mut pool); in insert()
158 jt.display(&pool).to_string(), in insert()
166 jt.as_slice()[0].args(&pool).collect::<Vec<_>>(), in insert()
169 assert_eq!(jt.as_slice()[1].args(&pool).collect::<Vec<_>>(), []); in insert()
171 jt.as_slice()[2].args(&pool).collect::<Vec<_>>(), in insert()