diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-26 16:34:56 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-26 16:34:56 -0800 |
commit | e8ab891a6538ce2c6758968ca6e9852e8ed759f8 (patch) | |
tree | 2e8ab74ea4e28e847720f466256d680850d0bb99 /assemble.c | |
parent | 943c9d74588c6606e497424761ab91d119b1e487 (diff) | |
download | nasm-e8ab891a6538ce2c6758968ca6e9852e8ed759f8.tar.gz nasm-e8ab891a6538ce2c6758968ca6e9852e8ed759f8.tar.bz2 nasm-e8ab891a6538ce2c6758968ca6e9852e8ed759f8.zip |
sbyte: optimization is OK if UNKNOWN isn't set
We can optimize the sbytes if the UNKNOWN flag isn't set
Diffstat (limited to 'assemble.c')
-rw-r--r-- | assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -758,7 +758,7 @@ int64_t insn_size(int32_t segment, int64_t offset, int bits, uint32_t cp, static bool possible_sbyte(operand *o) { return o->wrt == NO_SEG && o->segment == NO_SEG && - !(o->opflags & OPFLAG_FORWARD) && + !(o->opflags & OPFLAG_UNKNOWN) && optimizing >= 0 && !(o->type & STRICT); } |