diff options
author | Jonathan Protzenko | 2022-01-10 11:17:42 -0800 |
---|---|---|
committer | Jonathan Protzenko | 2022-01-10 11:17:42 -0800 |
commit | 46dd5345b4843734563aaa0a001723f32a34586a (patch) | |
tree | ac0635728895b5fa879feb593fcb61a7732fa6ae /src/InterpreterUtils.ml | |
parent | c3c1d91a976fdac52830239adb6429f09ea888a8 (diff) | |
parent | f2dd12e889cca6e75b03868a7d31952c8bdfa9c7 (diff) |
Merge remote-tracking branch 'refs/remotes/origin/main'
Diffstat (limited to '')
-rw-r--r-- | src/InterpreterUtils.ml | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/InterpreterUtils.ml b/src/InterpreterUtils.ml index 1f8e47e0..6c5d3289 100644 --- a/src/InterpreterUtils.ml +++ b/src/InterpreterUtils.ml @@ -10,28 +10,29 @@ module L = Logging open ValuesUtils open Utils open TypesUtils +module PA = Print.EvalCtxCfimAst (** Some utilities *) let eval_ctx_to_string = Print.Contexts.eval_ctx_to_string -let ety_to_string = Print.EvalCtxCfimAst.ety_to_string +let ety_to_string = PA.ety_to_string -let rty_to_string = Print.EvalCtxCfimAst.rty_to_string +let rty_to_string = PA.rty_to_string -let typed_value_to_string = Print.EvalCtxCfimAst.typed_value_to_string +let symbolic_value_to_string = PA.symbolic_value_to_string -let typed_avalue_to_string = Print.EvalCtxCfimAst.typed_avalue_to_string +let typed_value_to_string = PA.typed_value_to_string -let place_to_string = Print.EvalCtxCfimAst.place_to_string +let typed_avalue_to_string = PA.typed_avalue_to_string -let operand_to_string = Print.EvalCtxCfimAst.operand_to_string +let place_to_string = PA.place_to_string -let statement_to_string ctx = - Print.EvalCtxCfimAst.statement_to_string ctx "" " " +let operand_to_string = PA.operand_to_string -let statement_to_string_with_tab ctx = - Print.EvalCtxCfimAst.statement_to_string ctx " " " " +let statement_to_string ctx = PA.statement_to_string ctx "" " " + +let statement_to_string_with_tab ctx = PA.statement_to_string ctx " " " " let same_symbolic_id (sv0 : V.symbolic_value) (sv1 : V.symbolic_value) : bool = sv0.V.sv_id = sv1.V.sv_id |