- reverting back to original romcc.c before hdama checkin broke all

other builds.



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2005 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Jason Schildt 2005-08-10 14:31:52 +00:00
parent 6e44b422b3
commit 27b8511880

View file

@ -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);
@ -9870,15 +9873,7 @@ static void simplify_load(struct compile_state *state, struct triple *ins)
src += addr->u.cval;
if (src > end) {
/*
* The constant puts the load address out of bounds for
* the array. However the load may be only conditionally
* called and it may never be called with this argument.
* So we can't error here because we don't know
* if the load will actually be executed. So instead
* simply avoid performing the the optimization.
*/
return;
error(state, ins, "Load address out of bounds");
}
memset(buffer, 0, sizeof(buffer));
@ -15301,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);