diff options
| author | Kathy Gray | 2014-09-29 12:40:23 +0100 |
|---|---|---|
| committer | Kathy Gray | 2014-09-29 12:40:23 +0100 |
| commit | 36578a6f257d6250f46df07c473f42b5995743e8 (patch) | |
| tree | f2acc4ad3a559398cd28a68112164d231140550d | |
| parent | c205e3e77e35cf07fdf616c133d9a70a96986394 (diff) | |
add run_power to last commit
| -rw-r--r-- | src/test/run_power.ml | 6 |
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)]; |
