aboutsummaryrefslogtreecommitdiffstats
path: root/scheduling/BTL.v
diff options
context:
space:
mode:
authorSylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr>2021-05-11 10:47:44 +0200
committerSylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr>2021-05-11 10:47:44 +0200
commit054e097f72c45a89d13af1759e5464561d59ea71 (patch)
treebf5d9a5edfad0d4f363afb85fdca0691da8adbb3 /scheduling/BTL.v
parent95b6814a1cff386150a7573cb30e9cb68a18052c (diff)
parente3613e0614ccc93c1013f7c39b58cffb6c21a76c (diff)
downloadcompcert-kvx-054e097f72c45a89d13af1759e5464561d59ea71.tar.gz
compcert-kvx-054e097f72c45a89d13af1759e5464561d59ea71.zip
Merge branch 'BTL' of gricad-gitlab.univ-grenoble-alpes.fr:sixcy/CompCert into BTL
Diffstat (limited to 'scheduling/BTL.v')
-rw-r--r--scheduling/BTL.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/scheduling/BTL.v b/scheduling/BTL.v
index 476e71a7..064297f1 100644
--- a/scheduling/BTL.v
+++ b/scheduling/BTL.v
@@ -786,6 +786,11 @@ Definition verify_function dupmap f f' : res unit :=
do _ <- verify_is_copy dupmap (fn_entrypoint f) (RTL.fn_entrypoint f');
verify_cfg dupmap (fn_code f) (RTL.fn_code f').
+Definition is_goto (ib: iblock): bool :=
+ match ib with
+ | Bgoto _ => true
+ | _ => false
+ end.
Definition is_atom (ib: iblock): bool :=
match ib with