summaryrefslogtreecommitdiff
path: root/util/romcc/romcc.c
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2005-08-04 14:59:33 +0000
committerLi-Ta Lo <ollie@lanl.gov>2005-08-04 14:59:33 +0000
commit9528b8883eba65bf49c3b0d60b415e53fa05f9b3 (patch)
treee5cdcf56b95ab329484d1cad8ab7fe3f7389e812 /util/romcc/romcc.c
parent053d7220072cc08450f2cb7d4f04ed4b2ba80633 (diff)
downloadcoreboot-9528b8883eba65bf49c3b0d60b415e53fa05f9b3.tar.xz
GCC4 fix
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1989 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/romcc/romcc.c')
-rw-r--r--util/romcc/romcc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c
index 69121e2b83..a28da889d4 100644
--- a/util/romcc/romcc.c
+++ b/util/romcc/romcc.c
@@ -1301,7 +1301,10 @@ static struct triple *transform_to_arch_instruction(
struct compile_state *state, struct triple *ins);
static struct triple *flatten(
struct compile_state *state, struct triple *first, struct triple *ptr);
-
+static void print_dominators(struct compile_state *state,
+ FILE *fp, struct basic_blocks *bb);
+static void print_dominance_frontiers(struct compile_state *state,
+ FILE *fp, struct basic_blocks *bb);
@@ -15293,8 +15296,6 @@ static void romcc_print_blocks(struct compile_state *state, FILE *fp)
}
static void print_blocks(struct compile_state *state, const char *func, FILE *fp)
{
- static void print_dominators(struct compile_state *state, FILE *fp, struct basic_blocks *bb);
- static void print_dominance_frontiers(struct compile_state *state, FILE *fp, struct basic_blocks *bb);
if (state->compiler->debug & DEBUG_BASIC_BLOCKS) {
fprintf(fp, "After %s\n", func);
romcc_print_blocks(state, fp);