Skip to content

Commit becbd23

Browse files
IlmariReissumiesmktnk3
authored andcommitted
Update loop_to_word for shared memory
1 parent 6b4a6ea commit becbd23

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pancake/loop_to_wordScript.sml

+3-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ Definition comp_def:
117117
(comp ctxt (FFI f ptr1 len1 ptr2 len2 live) l =
118118
let live = mk_new_cutset ctxt live in
119119
(FFI f (find_var ctxt ptr1) (find_var ctxt len1)
120-
(find_var ctxt ptr2) (find_var ctxt len2) live,l))
120+
(find_var ctxt ptr2) (find_var ctxt len2) live,l)) ∧
121+
(comp ctxt (ShMem memop n e) l =
122+
(ShareInst memop (find_var ctxt n) (comp_exp ctxt e),l))
121123
End
122124

123125
Definition make_ctxt_def:

0 commit comments

Comments
 (0)