2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Dec 2006 16:43:41 +0000 (16:43 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Dec 2006 16:43:41 +0000 (16:43 +0000)
* config/tc-i386.h (template): Use MAX_OPERANDS instead of 4
operand_types array.

gas/ChangeLog
gas/config/tc-i386.h

index fa89abe5a3926444e8b8e42b56932b9fe863beef..ca35b33222fa0f8ac1e2b07710a0d93085995bb0 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.h (template): Use MAX_OPERANDS instead of 4
+       operand_types array.
+
 2006-12-08  Christian Groessler  <chris@groessler.org>
 
        * config/tc-z8k.c (whatreg): Add comment describing function.
index 7cfe29b24f899955ecd8527aedddd3681ed88e64..14cbbe0f922ca24448da3b962d68578363ba1e01 100644 (file)
@@ -246,7 +246,7 @@ typedef struct
      by OR'ing together all of the possible type masks.  (e.g.
      'operand_types[i] = Reg|Imm' specifies that operand i can be
      either a register or an immediate operand.  */
-  unsigned int operand_types[4];
+  unsigned int operand_types[MAX_OPERANDS];
 
   /* operand_types[i] bits */
   /* register */
This page took 0.030858 seconds and 4 git commands to generate.