projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8396b
)
process_ea: Drop redundant variable
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Sat, 1 Dec 2012 15:38:47 +0000
(19:38 +0400)
committer
Cyrill Gorcunov
<gorcunov@gmail.com>
Fri, 1 Mar 2013 22:45:53 +0000
(
02:45
+0400)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
assemble.c
patch
|
blob
|
history
diff --git
a/assemble.c
b/assemble.c
index
df0ac7d
..
f025360
100644
(file)
--- a/
assemble.c
+++ b/
assemble.c
@@
-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);