mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[llvm-exegesis] Initialize const bitvector member
This causes an error with older versions of clang: constructor for 'llvm::exegesis::InstructionsCache' must explicitly initialize the const member 'BVC'
This commit is contained in:
parent
445fd95b0d
commit
f287914714
@ -301,7 +301,7 @@ void Instruction::dump(const MCRegisterInfo &RegInfo,
|
||||
|
||||
InstructionsCache::InstructionsCache(const MCInstrInfo &InstrInfo,
|
||||
const RegisterAliasingTrackerCache &RATC)
|
||||
: InstrInfo(InstrInfo), RATC(RATC) {}
|
||||
: InstrInfo(InstrInfo), RATC(RATC), BVC() {}
|
||||
|
||||
const Instruction &InstructionsCache::getInstr(unsigned Opcode) const {
|
||||
auto &Found = Instructions[Opcode];
|
||||
|
Loading…
Reference in New Issue
Block a user