aboutsummaryrefslogtreecommitdiffstats
path: root/scheduling/BTL.v
diff options
context:
space:
mode:
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 a87f674b..bc0f0815 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