mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Use vector constructor instead of a for loop to initialize entries.
llvm-svn: 217123
This commit is contained in:
parent
1c12ed82fc
commit
a06b70e729
@ -343,10 +343,8 @@ public:
|
||||
unsigned BW,
|
||||
const FixedLenDecoderEmitter *E)
|
||||
: AllInstructions(Insts), Opcodes(IDs), Operands(Ops), Filters(),
|
||||
Parent(nullptr), BestIndex(-1), BitWidth(BW), Emitter(E) {
|
||||
for (unsigned i = 0; i < BitWidth; ++i)
|
||||
FilterBitValues.push_back(BIT_UNFILTERED);
|
||||
|
||||
FilterBitValues(BW, BIT_UNFILTERED), Parent(nullptr), BestIndex(-1),
|
||||
BitWidth(BW), Emitter(E) {
|
||||
doFilter();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user