BR 2003451: avoid "forwardness" leaks between operands
commit1c3277b62550d1ef6ac892715e935cc7108873ad
authorH. Peter Anvin <hpa@zytor.com>
Sun, 20 Jul 2008 04:38:56 +0000 (19 21:38 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 20 Jul 2008 04:38:56 +0000 (19 21:38 -0700)
tree9b4ab117d09b6b19aed1588436de929705b87dec
parent1b67bd25b20b153c0fdc799c28250b9e259221ce
BR 2003451: avoid "forwardness" leaks between operands

Any use of ins->forw_ref that isn't related to control of the
optimizer is fundamentally broken.  Use
operand->opflags & OPERAND_FORWARD instead.  This even has the nice
side benefit of simplifying the code.
assemble.c
nasm.h