summaryrefslogtreecommitdiff
path: root/backend/Coloring.v
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Coloring.v')
-rw-r--r--backend/Coloring.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/Coloring.v b/backend/Coloring.v
index 7204bc7..67824ae 100644
--- a/backend/Coloring.v
+++ b/backend/Coloring.v
@@ -93,7 +93,7 @@ Require Import InterfGraph.
Definition add_interf_live
(filter: reg -> bool) (res: reg) (live: Regset.t) (g: graph): graph :=
- Regset.fold graph
+ Regset.fold
(fun r g => if filter r then add_interf r res g else g) live g.
Definition add_interf_op
@@ -113,7 +113,7 @@ Definition add_interf_move
Definition add_interf_destroyed
(live: Regset.t) (destroyed: list mreg) (g: graph): graph :=
List.fold_left
- (fun g mr => Regset.fold graph (fun r g => add_interf_mreg r mr g) live g)
+ (fun g mr => Regset.fold (fun r g => add_interf_mreg r mr g) live g)
destroyed g.
Definition add_interfs_indirect_call