Skip to content

Commit 9a40c79

Browse files
committed
Extract MCP.g_of
1 parent 1870ce0 commit 9a40c79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/analyses/mCP.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ struct
2222

2323
open List open Obj
2424
let v_of n v = (n, repr v)
25+
let g_of n g = `Lifted (n, repr g)
2526
let g_to n = function
2627
| `Lifted (n', g) ->
2728
assert (n = n');
@@ -334,7 +335,7 @@ struct
334335
; postsub= assoc_sub post_all
335336
; global = (fun v -> ctx.global (v_of n v) |> g_to n |> obj)
336337
; split
337-
; sideg = (fun v g -> ctx.sideg (v_of n v) (`Lifted (n, repr g)))
338+
; sideg = (fun v g -> ctx.sideg (v_of n v) (g_of n g))
338339
}
339340
in
340341
ctx'

0 commit comments

Comments
 (0)