1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[llvm-exegesis][NFC] Simplify BenchmarkRunner ctor.

llvm-svn: 335456
This commit is contained in:
Clement Courbet 2018-06-25 11:44:29 +00:00
parent 7169e6e5be
commit 7abf7b7157

View File

@ -31,8 +31,7 @@ BenchmarkRunner::InstructionFilter::~InstructionFilter() = default;
BenchmarkRunner::BenchmarkRunner(const LLVMState &State)
: State(State), MCInstrInfo(State.getInstrInfo()),
MCRegisterInfo(State.getRegInfo()),
RATC(MCRegisterInfo,
getFunctionReservedRegs(*State.createTargetMachine())) {}
RATC(MCRegisterInfo, getFunctionReservedRegs(State.getTargetMachine())) {}
BenchmarkRunner::~BenchmarkRunner() = default;