diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-27 09:29:05 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-03-27 09:29:05 -0700 |
commit | e04de5e3b55b9f481ff2b9939995301ba6b1c748 (patch) | |
tree | 0ee6d5d6601c590420e80fcda786c6ffac73f030 /gas/config | |
parent | 79498702ef5f743481ee39c18418776715addcd6 (diff) | |
download | gdb-e04de5e3b55b9f481ff2b9939995301ba6b1c748.zip gdb-e04de5e3b55b9f481ff2b9939995301ba6b1c748.tar.gz gdb-e04de5e3b55b9f481ff2b9939995301ba6b1c748.tar.bz2 |
Remove the unused cpu_flags_set
* config/tc-i386.c (cpu_flags_set): Removed.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index d710216..8266134 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1382,23 +1382,6 @@ cpu_flags_all_zero (const union i386_cpu_flags *x) } } -static INLINE void -cpu_flags_set (union i386_cpu_flags *x, unsigned int v) -{ - switch (ARRAY_SIZE(x->array)) - { - case 3: - x->array[2] = v; - case 2: - x->array[1] = v; - case 1: - x->array[0] = v; - break; - default: - abort (); - } -} - static INLINE int cpu_flags_equal (const union i386_cpu_flags *x, const union i386_cpu_flags *y) |