Skip to content

Commit

Permalink
Applying relokin's suggestion for herd/AArch64Sem.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Nikos Nikoleris <[email protected]>
  • Loading branch information
artkhyzha and relokin committed Jul 19, 2023
1 parent 3527fc7 commit c64b0e4
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions herd/AArch64Sem.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2702,14 +2702,12 @@ module Make
* instructions pointed to by "exported" labels.
*)
let get_overwriting_instrs test =
let init_instrs =
AArch64.state_fold
(fun _ v k ->
match v with
| V.Val (Constant.Instruction i) -> i::k
| _ -> k)
test.Test_herd.init_state [] in
init_instrs
AArch64.state_fold
(fun _ v k ->
match v with
| V.Val (Constant.Instruction i) -> i::k
| _ -> k)
test.Test_herd.init_state []


(* Test all possible instructions, when appropriate *)
Expand Down

0 comments on commit c64b0e4

Please sign in to comment.