From 9945feeed615ccb6f75ea6044531be5171694e06 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 26 Feb 2009 14:48:03 -0800 Subject: [PATCH] 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. --- assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assemble.c b/assemble.c index d4e7f25c..6ff74284 100644 --- a/assemble.c +++ b/assemble.c @@ -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; -- 2.11.4.GIT