3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 16:25:48 +00:00

Merge branch 'interp' of https://git01.codeplex.com/z3 into interp

This commit is contained in:
Kenneth McMillan 2013-03-04 19:53:53 -08:00
commit bc6b20d557
11 changed files with 2527 additions and 7 deletions

View file

@ -65,7 +65,7 @@ iz3mgr::ast iz3mgr::make(opr op, ast &arg0){
return make(op,1,&a);
}
iz3mgr::ast iz3mgr::make(opr op, ast &arg0, ast &arg1){
iz3mgr::ast iz3mgr::make(opr op, const ast &arg0, const ast &arg1){
raw_ast *args[2];
args[0] = arg0.raw();
args[1] = arg1.raw();
@ -367,3 +367,10 @@ iz3mgr::opr iz3mgr::op(ast &t){
}
return Other;
}
iz3mgr::pfrule iz3mgr::pr(const ast &t){
func_decl *d = to_app(t.raw())->get_decl();
assert(m_basic_fid == d->get_family_id());
return d->get_decl_kind();
}