From a56e82f94dc8c37c2f02ecd9659f4bb4f879e16f Mon Sep 17 00:00:00 2001 From: Mark Thom Date: Sun, 29 Jan 2017 15:03:16 -0700 Subject: [PATCH] use CompiledFact in machine.rs --- src/l1/machine.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/l1/machine.rs b/src/l1/machine.rs index 5bf0a5ef..3ef4d2bc 100644 --- a/src/l1/machine.rs +++ b/src/l1/machine.rs @@ -1,4 +1,4 @@ -use l1::ast::{Addr, Atom, FactInstruction, QueryInstruction}; +use l1::ast::{Addr, Atom, CompiledFact, FactInstruction, QueryInstruction}; use std::collections::HashMap; use std::vec::Vec; @@ -28,7 +28,7 @@ pub struct Machine { heap : Heap, mode : MachineMode, pub code_dir : HashMap<(Atom, usize), usize>, - pub code : Vec, + pub code : CompiledFact, registers : Registers } -- 2.54.0