diff options
author | Ori Bernstein <ori@eigenstate.org> | 2013-02-09 19:22:12 -0500 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2013-02-09 19:22:12 -0500 |
commit | edea33eefb45d186ae3d5159223cec0ccb71ff1b (patch) | |
tree | eca487d464f4f0a328c41f8620f9e164f9808bfc | |
parent | a13e33b5a6319fb5cc68983b731e6cff821bb458 (diff) | |
download | mc-edea33eefb45d186ae3d5159223cec0ccb71ff1b.tar.gz |
Rename functions.
-rw-r--r-- | 6/peep.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,7 +19,7 @@ * a non-conditional jump. This code scans for * the non-conditional exit from the BB, and truncates * at that point */ -static void elimdead(Isel *s, Asmbb *bb) +static void deadcode(Isel *s, Asmbb *bb) { size_t i; @@ -38,7 +38,7 @@ static void elimdead(Isel *s, Asmbb *bb) * .l1: * TODO: check for jumps over jumps. */ -static void elimnopjmp(Isel *s, Asmbb *bb, size_t idx) +static void nopjmp(Isel *s, Asmbb *bb, size_t idx) { Insn *jmp; Loc *targ; @@ -72,8 +72,8 @@ static void elimnopjmp(Isel *s, Asmbb *bb, size_t idx) static void bbpeep(Isel *s, Asmbb *bb, size_t idx) { - elimdead(s, bb); - elimnopjmp(s, bb, idx); + deadcode(s, bb); + nopjmp(s, bb, idx); } void peep(Isel *s) |