diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-06-26 17:50:41 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-06-26 17:50:41 +0000 |
commit | 02fc308916fff15f2a1c7b2f275dd27f2e31cc14 (patch) | |
tree | 1bc48f40b763735db6c1325db322f784b2d5583a /gas/config/tc-i386.c | |
parent | 714b128219f054608b63962c5a2583043fdc523f (diff) | |
download | gdb-02fc308916fff15f2a1c7b2f275dd27f2e31cc14.zip gdb-02fc308916fff15f2a1c7b2f275dd27f2e31cc14.tar.gz gdb-02fc308916fff15f2a1c7b2f275dd27f2e31cc14.tar.bz2 |
2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Declare "exp" before "if".
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 5ac7e0c..22db238 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1413,6 +1413,8 @@ md_assemble (line) if (i.tm.opcode_modifier & ImmExt) { + expressionS *exp; + if ((i.tm.cpu_flags & CpuPNI) && i.operands > 0) { /* These Intel Precott New Instructions have the fixed @@ -1433,8 +1435,6 @@ md_assemble (line) immediate field would be. Here we fake an 8-bit immediate operand from the opcode suffix stored in tm.extension_opcode. */ - expressionS *exp; - assert (i.imm_operands == 0 && i.operands <= 2 && 2 < MAX_OPERANDS); exp = &im_expressions[i.imm_operands++]; |