summaryrefslogtreecommitdiff
path: root/compiler/InterpreterLoops.ml
diff options
context:
space:
mode:
authorEscherichia2024-03-25 12:06:05 +0100
committerEscherichia2024-03-28 15:27:35 +0100
commitd6ea35868e30bbc7542bfa09bb04d5b6cbe93b22 (patch)
tree14c7bca01e105ec6bf3db8ccedb21d64ae4ae756 /compiler/InterpreterLoops.ml
parent9b1a0d82c19375619904efe7e18e064701fb947b (diff)
Inverted meta and config argument orders (from meta -> config to config -> meta)
Diffstat (limited to '')
-rw-r--r--compiler/InterpreterLoops.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/InterpreterLoops.ml b/compiler/InterpreterLoops.ml
index 98aa0e14..4d4b709e 100644
--- a/compiler/InterpreterLoops.ml
+++ b/compiler/InterpreterLoops.ml
@@ -75,7 +75,7 @@ let eval_loop_symbolic (config : config) (meta : meta)
(* Compute the fixed point at the loop entrance *)
let fp_ctx, fixed_ids, rg_to_abs =
- compute_loop_entry_fixed_point meta config loop_id eval_loop_body ctx
+ compute_loop_entry_fixed_point config meta loop_id eval_loop_body ctx
in
(* Debug *)
@@ -125,7 +125,7 @@ let eval_loop_symbolic (config : config) (meta : meta)
- src ctx (fixed-point ctx)" ^ eval_ctx_to_string meta fp_ctx
^ "\n\n-tgt ctx (original context):\n" ^ eval_ctx_to_string meta ctx));
let end_expr : SymbolicAst.expression option =
- match_ctx_with_target meta config loop_id true fp_bl_corresp fp_input_svalues
+ match_ctx_with_target config meta loop_id true fp_bl_corresp fp_input_svalues
fixed_ids fp_ctx cf ctx
in
log#ldebug
@@ -158,7 +158,7 @@ let eval_loop_symbolic (config : config) (meta : meta)
- src ctx (fixed-point ctx)" ^ eval_ctx_to_string meta fp_ctx
^ "\n\n-tgt ctx (ctx at continue):\n" ^ eval_ctx_to_string meta ctx));
let cc =
- match_ctx_with_target meta config loop_id false fp_bl_corresp
+ match_ctx_with_target config meta loop_id false fp_bl_corresp
fp_input_svalues fixed_ids fp_ctx
in
cc cf ctx