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:
parent
7169e6e5be
commit
7abf7b7157
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user