Remove the unused cpu_flags_set

* config/tc-i386.c (cpu_flags_set): Removed.
This commit is contained in:
H.J. Lu 2015-03-27 09:29:05 -07:00
parent 79498702ef
commit e04de5e3b5
2 changed files with 4 additions and 17 deletions

View File

@ -1,3 +1,7 @@
2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (cpu_flags_set): Removed.
2015-03-25 Renlin Li <renlin.li@arm.com> 2015-03-25 Renlin Li <renlin.li@arm.com>
* config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting

View File

@ -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 static INLINE int
cpu_flags_equal (const union i386_cpu_flags *x, cpu_flags_equal (const union i386_cpu_flags *x,
const union i386_cpu_flags *y) const union i386_cpu_flags *y)