Skip to content

Commit b7a46a4

Browse files
committed
[herd] Fix placement of po edges in dot graphs
1 parent e9e74e8 commit b7a46a4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

herd/Pretty.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ module Make (S:SemExtra.S) : S with module S = S = struct
827827
| E.IdSome ii ->
828828
fprintf chan "proc:%s poi:%i\\l"
829829
(Proc.pp ii.A.proc)
830-
ii.A.static_poi
830+
ii.A.program_order_index
831831

832832
(*
833833
This complex function is not meant to be used directly,

herd/prettyUtils.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Make(S : SemExtra.S) = struct
2323
let by_po =
2424
E.EventSet.fold
2525
(fun e k ->
26-
match E.static_poi e with
26+
match E.progorder_of e with
2727
| None -> k
2828
| Some poi ->
2929
let es_poi = IntMap.safe_find [] poi k in

0 commit comments

Comments
 (0)