Skip to content
Snippets Groups Projects
Commit f8aadfc2 authored by Valentin Perrelle's avatar Valentin Perrelle
Browse files

[kernel] Abstract ctx type

parent 33ff506f
No related branches found
No related tags found
No related merge requests found
...@@ -24,16 +24,7 @@ open Cil_types ...@@ -24,16 +24,7 @@ open Cil_types
val compute_term_deps: (stmt -> term -> Locations.Zone.t option) ref val compute_term_deps: (stmt -> term -> Locations.Zone.t option) ref
type ctx = { type ctx
site: ctx_site;
before: bool option;
kf: Kernel_function.t
}
and ctx_site =
| FunctionContract
| StatementContract of stmt
| StatementAnnotation of stmt
val mk_ctx_func_contrat: ?before:bool -> kernel_function -> ctx val mk_ctx_func_contrat: ?before:bool -> kernel_function -> ctx
(** To build an interpretation context relative to function (** To build an interpretation context relative to function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment