summaryrefslogtreecommitdiff
path: root/6/peep.c
diff options
context:
space:
mode:
Diffstat (limited to '6/peep.c')
-rw-r--r--6/peep.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/6/peep.c b/6/peep.c
index 12dda02..970f0ae 100644
--- a/6/peep.c
+++ b/6/peep.c
@@ -70,17 +70,12 @@ static void nopjmp(Isel *s, Asmbb *bb, size_t idx)
}
}
-static void bbpeep(Isel *s, Asmbb *bb, size_t idx)
-{
- deadcode(s, bb);
- nopjmp(s, bb, idx);
-}
-
void peep(Isel *s)
{
size_t i;
for (i = 0; i < s->nbb; i++) {
- bbpeep(s, s->bb[i], i);
+ deadcode(s, s->bb[i]);
+ nopjmp(s, s->bb[i], i);
}
}