aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r--gcc/graphite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 03a7161..68c9390 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -374,7 +374,7 @@ public:
{}
/* opt_pass methods: */
- bool gate () { return gate_graphite_transforms (); }
+ virtual bool gate (function *) { return gate_graphite_transforms (); }
}; // class pass_graphite
@@ -410,7 +410,7 @@ public:
{}
/* opt_pass methods: */
- bool gate () { return gate_graphite_transforms (); }
+ virtual bool gate (function *) { return gate_graphite_transforms (); }
unsigned int execute () { return graphite_transforms (); }
}; // class pass_graphite_transforms