diff options
author | Son Ho | 2022-12-02 01:09:05 +0100 |
---|---|---|
committer | Son HO | 2023-02-03 11:21:46 +0100 |
commit | 43163a5abc4e79d66f517a473e5ee9c4c3410622 (patch) | |
tree | b3f3c641dbccbaf9b738a772844a35b7190e30b2 /compiler/Interpreter.ml | |
parent | aef15fb2f961df4f935c659d85ff9982fc446cc2 (diff) |
Remove the meta-values from the shared and reserved borrow values
Diffstat (limited to '')
-rw-r--r-- | compiler/Interpreter.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/Interpreter.ml b/compiler/Interpreter.ml index d1241b9d..d8a99d80 100644 --- a/compiler/Interpreter.ml +++ b/compiler/Interpreter.ml @@ -196,7 +196,7 @@ let evaluate_function_symbolic_synthesize_backward_from_return cf target_abs_ids in (* Generate the Return node *) - let cf_return : m_fun = fun _ -> Some (SA.Return None) in + let cf_return : m_fun = fun ctx -> Some (SA.Return (ctx, None)) in (* Apply *) cf_end_target_abs cf_return ctx in @@ -246,7 +246,7 @@ let evaluate_function_symbolic (synthesize : bool) let cf_pop = pop_frame config in (* Generate the Return node *) let cf_return ret_value : m_fun = - fun _ -> Some (SA.Return (Some ret_value)) + fun ctx -> Some (SA.Return (ctx, Some ret_value)) in (* Apply *) cf_pop cf_return ctx |