correct register overallocation

This commit is contained in:
Mark Thom
2017-03-25 12:26:06 -06:00
parent a836e14b5f
commit b7ff27af1b
2 changed files with 7 additions and 11 deletions

View File

@@ -241,7 +241,7 @@ Each predicate must have the same name and arity.";
EvalResult::EntrySuccess
},
&Ok(TopLevel::Query(ref query)) => {
let compiled_query = cg.compile_query(&query);
let compiled_query = cg.compile_query(&query);
wam.run_query(compiled_query, &cg)
},
&Err(_) => {