refactor BuiltInInstruction

This commit is contained in:
Mark Thom
2018-03-17 15:45:17 -06:00
parent 64ab9a0337
commit a66049a321
5 changed files with 130 additions and 140 deletions

View File

@@ -532,7 +532,10 @@ pub(crate) trait CallPolicy: Any {
Ok(())
},
_ => panic!("inlined command: should have been superseded by previous clause.")
&ClauseType::Inlined(ref inlined) => {
machine_st.execute_inlined(inlined, &vec![temp_v!(1), temp_v!(2)]);
Ok(())
}
}
}
}