summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-08-18 19:17:30 +0200
committerMatthias Braun <matze@braunis.de>2011-08-22 16:27:37 +0200
commit7e4c680661ca3e15ae8d58fb50b4e8e9c10d5f4c (patch)
tree99ef074db417e65568887589ec3d34f5a9e9c6ac /ir/be/beverify.h
parent5ab45bb586d934d46c6739452ffdde2f3278156b (diff)
beverify: test register width in regalloc verification
Diffstat (limited to 'ir/be/beverify.h')
-rw-r--r--ir/be/beverify.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ir/be/beverify.h b/ir/be/beverify.h
index 3eae1b3..3c3093d 100644
--- a/ir/be/beverify.h
+++ b/ir/be/beverify.h
@@ -27,6 +27,7 @@
#ifndef FIRM_BE_BEVERIFY_H
#define FIRM_BE_BEVERIFY_H
+#include <stdbool.h>
#include "irgraph.h"
#include "beirg.h"
@@ -65,8 +66,8 @@ int be_verify_spillslots(ir_graph *irg);
* assigned.
*
* @param irg The graph to check
- * @return 1 if verify succeeded, 0 otherwise
+ * @return true if verify succeeded, false otherwise
*/
-int be_verify_register_allocation(ir_graph *irg);
+bool be_verify_register_allocation(ir_graph *irg);
#endif