aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qbt/nodes.h2
-rw-r--r--include/qbt/opt.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/qbt/nodes.h b/include/qbt/nodes.h
index f51a32f..a81f397 100644
--- a/include/qbt/nodes.h
+++ b/include/qbt/nodes.h
@@ -45,11 +45,11 @@ enum insn_type {
RETARG,
PARAM,
RETVAL,
+ ADDR,
/* internal */
SAVE,
RESTORE,
- ADDR,
};
enum insn_flags {
diff --git a/include/qbt/opt.h b/include/qbt/opt.h
index 60d29b3..87c8ac6 100644
--- a/include/qbt/opt.h
+++ b/include/qbt/opt.h
@@ -4,6 +4,6 @@
#include <qbt/nodes.h>
void optimize(struct fn *fn);
size_t ssa(struct fn *f);
-void correct(struct fn *f, size_t ri);
+size_t correct(struct fn *f, size_t ri);
#endif /* OPT_H */