diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-26 14:48:03 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-26 14:48:03 -0800 |
commit | 9945feeed615ccb6f75ea6044531be5171694e06 (patch) | |
tree | 86f6e7d60495957b4a7518bc29d587e11630abc6 | |
parent | ed2dcb8dc05d0cf1175826e8d568c3b81d61e73c (diff) | |
download | nasm-9945feeed615ccb6f75ea6044531be5171694e06.tar.gz |
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.
-rw-r--r-- | assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |