PATCH: Don't use bit field on swap_operand

H.J. Lu hongjiu.lu@intel.com
Sat Nov 14 01:46:00 GMT 2009


There is only one variable for _i386_insn.  No need to use bit field.
I checked it in.


H.J.
---
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 246c7e6..f61097c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* config/tc-i386.c (_i386_insn): Don't use bit field on
+	swap_operand.
+
 2009-11-12  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* config/tc-i386.c (LOCKREP_PREFIX): Removed.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 4f80e98..6aa9949 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -257,7 +257,7 @@ struct _i386_insn
     vex_prefix vex;
 
     /* Swap operand in encoding.  */
-    unsigned int swap_operand : 1;
+    unsigned int swap_operand;
   };
 
 typedef struct _i386_insn i386_insn;



More information about the Binutils mailing list