mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
process_ea: Drop redundant variable
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
4e8396b5cf
commit
c7ce6a4f22
@ -2131,14 +2131,10 @@ static enum ea_type process_ea(operand *input, ea *output, int bits,
|
||||
/*
|
||||
* It's a direct register.
|
||||
*/
|
||||
opflags_t f;
|
||||
|
||||
if (!is_register(input->basereg))
|
||||
goto err;
|
||||
|
||||
f = regflag(input);
|
||||
|
||||
if (!is_class(REG_EA, f))
|
||||
if (!is_class(REG_EA, regflag(input)))
|
||||
goto err;
|
||||
|
||||
output->rex |= op_rexflags(input, REX_B | REX_P | REX_W | REX_H);
|
||||
|
Loading…
Reference in New Issue
Block a user