aboutsummaryrefslogtreecommitdiff
path: root/src/opt.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-04-02 15:15:04 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-04-02 15:15:04 +0300
commita7cb592efa9ec72c4c5e9d3c1e7469203a4b47e2 (patch)
tree5c43cfbde7cad7f1f46366d9b9fedd9c81953f91 /src/opt.c
parent59148d666a78d671198d56caabe7fe4d7fb3fee1 (diff)
downloadqbt-a7cb592efa9ec72c4c5e9d3c1e7469203a4b47e2.tar.gz
qbt-a7cb592efa9ec72c4c5e9d3c1e7469203a4b47e2.zip
add simple unreachability
Diffstat (limited to 'src/opt.c')
-rw-r--r--src/opt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opt.c b/src/opt.c
index 3036950..d52c9d0 100644
--- a/src/opt.c
+++ b/src/opt.c
@@ -1,5 +1,6 @@
#include <qbt/opt.h>
#include <qbt/regalloc.h>
+#include <qbt/unreachable.h>
#include <qbt/ssa.h>
#include <qbt/abi.h>
@@ -8,5 +9,6 @@ void optimize(struct fn *f)
ssa(f);
abi0(f);
/* ... do more stuff ... */
+ unreachable(f);
regalloc(f);
}