summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKathy Gray2014-09-29 12:40:23 +0100
committerKathy Gray2014-09-29 12:40:23 +0100
commit36578a6f257d6250f46df07c473f42b5995743e8 (patch)
treef2acc4ad3a559398cd28a68112164d231140550d
parentc205e3e77e35cf07fdf616c133d9a70a96986394 (diff)
add run_power to last commit
-rw-r--r--src/test/run_power.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/run_power.ml b/src/test/run_power.ml
index 9afd692b..be11ce4d 100644
--- a/src/test/run_power.ml
+++ b/src/test/run_power.ml
@@ -6,6 +6,8 @@ open Interp_interface ;;
open Interp_inter_imp ;;
open Run_interp_model ;;
+open Sail_interface ;;
+
let startaddr = ref "0" ;;
let mainaddr = ref "0" ;;
let sections = ref [] ;;
@@ -93,7 +95,7 @@ let args = [
("--code", Arg.String add_section, "name,offset,size,addr add a code section");
("--startaddr", Arg.Set_string startaddr, "addr initial address (UNUSED)");
("--mainaddr", Arg.Set_string mainaddr, "addr address of the main section (entry point; default: 0)");
- ("--quiet", Arg.Clear Run_interp.debug, " do not display interpreter actions");
+ ("--quiet", Arg.Clear Run_interp_model.debug, " do not display interpreter actions");
("--interactive", Arg.Clear eager_eval , " interactive execution");
] ;;
@@ -130,7 +132,7 @@ let run () =
Arg.usage args "";
exit 1;
end;
- if !eager_eval then Run_interp.debug := true;
+ if !eager_eval then Run_interp_model.debug := true;
let ic = open_in_bin !file in
if !sections = [] then begin
sections := [(0, in_channel_length ic, Big_int.zero_big_int)];