summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2012-09-28 10:42:24 +0200
committerMatthias Braun <matze@braunis.de>2012-10-29 17:48:56 +0100
commite03630563ad6ef88bf810c268b6144cd8e1a89c8 (patch)
tree922ec531c136ddf0705633c299775ae43256a943 /ir/be/beverify.h
parentdf6d48d602bf85c72ad8e4cf84c08f44c448d743 (diff)
beverify: cleanup, use bool for ok/bad return value
Diffstat (limited to 'ir/be/beverify.h')
-rw-r--r--ir/be/beverify.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ir/be/beverify.h b/ir/be/beverify.h
index c4a2b29..ee625fd 100644
--- a/ir/be/beverify.h
+++ b/ir/be/beverify.h
@@ -38,26 +38,26 @@
*
* @param irg The irg to check.
* @param cls The register class to check.
- * @return 1 if the pressure is valid, 0 otherwise.
+ * @return true if the pressure is valid, false otherwise.
*/
-int be_verify_register_pressure(ir_graph *irg,
- const arch_register_class_t* cls);
+bool be_verify_register_pressure(ir_graph *irg,
+ const arch_register_class_t* cls);
/**
* Does some sanity checks on the schedule.
*
* @param irg The irg to check
- * @return 1 if the schedule is valid, 0 otherwise
+ * @return true if the schedule is valid, false otherwise
*/
-int be_verify_schedule(ir_graph *irg);
+bool be_verify_schedule(ir_graph *irg);
/**
* Verify spillslots
*
* @param irg The irg to check
- * @return 1 if spillslots are valid, 0 otherwise
+ * @return true if spillslots are valid, false otherwise
*/
-int be_verify_spillslots(ir_graph *irg);
+bool be_verify_spillslots(ir_graph *irg);
/**
* Verify register allocation: Checks that no 2 live nodes have the same