diff options
author | Son HO | 2024-06-05 11:30:42 +0200 |
---|---|---|
committer | GitHub | 2024-06-05 11:30:42 +0200 |
commit | baa0771885546816461e063131162b94c6954d86 (patch) | |
tree | 2f8b8bd9d6ddef3e56d3c840690e94d9322a963a /compiler/InterpreterExpressions.mli | |
parent | c708fc2556806abc95cd2ca173a94a5fb49d034d (diff) | |
parent | 967c1aa8bd47e76905baeda5b9d41167af664942 (diff) |
Merge pull request #227 from AeneasVerif/son/clean-synthesis
Remove the use of `Option` from the functions synthesizing the symbolic AST
Diffstat (limited to '')
-rw-r--r-- | compiler/InterpreterExpressions.mli | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/compiler/InterpreterExpressions.mli b/compiler/InterpreterExpressions.mli index feb641d1..29234ea9 100644 --- a/compiler/InterpreterExpressions.mli +++ b/compiler/InterpreterExpressions.mli @@ -25,7 +25,7 @@ val access_rplace_reorganize_and_read : access_kind -> place -> eval_ctx -> - typed_value * eval_ctx * (eval_result -> eval_result) + typed_value * eval_ctx * (SymbolicAst.expression -> SymbolicAst.expression) (** Evaluate an operand. @@ -41,7 +41,7 @@ val eval_operand : Meta.span -> operand -> eval_ctx -> - typed_value * eval_ctx * (eval_result -> eval_result) + typed_value * eval_ctx * (SymbolicAst.expression -> SymbolicAst.expression) (** Evaluate several operands at once. *) val eval_operands : @@ -49,7 +49,9 @@ val eval_operands : Meta.span -> operand list -> eval_ctx -> - typed_value list * eval_ctx * (eval_result -> eval_result) + typed_value list + * eval_ctx + * (SymbolicAst.expression -> SymbolicAst.expression) (** Evaluate an rvalue which is not a global (globals are handled elsewhere). @@ -63,7 +65,9 @@ val eval_rvalue_not_global : Meta.span -> rvalue -> eval_ctx -> - (typed_value, eval_error) result * eval_ctx * (eval_result -> eval_result) + (typed_value, eval_error) result + * eval_ctx + * (SymbolicAst.expression -> SymbolicAst.expression) (** Evaluate a fake read (update the context so that we can read a place) *) val eval_fake_read : config -> Meta.span -> place -> cm_fun |