shithub: mc

Download patch

ref: 3dc71f6baaf6ff6a7e5a41fd89ea3ec2c7bdf88c
parent: edea33eefb45d186ae3d5159223cec0ccb71ff1b
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Feb 9 15:08:37 EST 2013

Remove nearly-useless function.

    There's no reason to put the BB transforms into another function.

--- a/6/peep.c
+++ b/6/peep.c
@@ -70,17 +70,12 @@
     }
 }
 
-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);
     }
 }
--