BR 2413265: don't pessimize displacements

Optimize displacements, don't pessimize them.  When running in the
optimizer, we always keep track of when a reference is forward.  That
doesn't mean it is unknown.
This commit is contained in:
H. Peter Anvin 2009-02-26 14:48:03 -08:00
parent ed2dcb8dc0
commit 9945feeed6

View file

@ -2103,7 +2103,7 @@ static int matches(const struct itemplate *itemp, insn * instruction, int bits)
static ea *process_ea(operand * input, ea * output, int bits,
int addrbits, int rfield, int32_t rflags)
{
bool forw_ref = !!(input->opflags & OPFLAG_FORWARD);
bool forw_ref = !!(input->opflags & OPFLAG_UNKNOWN);
output->rip = false;