add more tests that pass.

This commit is contained in:
Mark Thom
2018-05-10 19:47:53 -06:00
parent 954c29b103
commit 0f980e204d
3 changed files with 83 additions and 80 deletions

View File

@@ -1402,8 +1402,8 @@ impl ControlInstruction {
#[derive(Clone)]
pub enum IndexingInstruction {
SwitchOnTerm(usize, usize, usize, usize),
SwitchOnConstant(usize, HashMap<Constant, usize>),
SwitchOnStructure(usize, HashMap<(ClauseName, usize), usize>)
SwitchOnConstant(usize, Rc<HashMap<Constant, usize>>),
SwitchOnStructure(usize, Rc<HashMap<(ClauseName, usize), usize>>)
}
impl From<IndexingInstruction> for Line {