summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-06-25 13:44:27 +0000
committerClement Courbet <courbet@google.com>2018-06-25 13:44:27 +0000
commit0e8bf4e5aa7dc53bbeaf073639bcda239feab901 (patch)
tree6ad502e0294cb33ffca2863d94ea83ecdaa6e612 /llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
parent0ac29350b5c081fa0dd469ca618a5857d659f3b0 (diff)
downloadbcm5719-llvm-0e8bf4e5aa7dc53bbeaf073639bcda239feab901.tar.gz
bcm5719-llvm-0e8bf4e5aa7dc53bbeaf073639bcda239feab901.zip
[llvm-exegesis][NFC] Remove unnecessary member variables.
llvm-svn: 335470
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
index 94b24732f6f..5223fbac335 100644
--- a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
+++ b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
@@ -29,9 +29,8 @@ BenchmarkFailure::BenchmarkFailure(const llvm::Twine &S)
BenchmarkRunner::InstructionFilter::~InstructionFilter() = default;
BenchmarkRunner::BenchmarkRunner(const LLVMState &State)
- : State(State), MCInstrInfo(State.getInstrInfo()),
- MCRegisterInfo(State.getRegInfo()),
- RATC(MCRegisterInfo, getFunctionReservedRegs(State.getTargetMachine())) {}
+ : State(State),
+ RATC(State.getRegInfo(), getFunctionReservedRegs(State.getTargetMachine())) {}
BenchmarkRunner::~BenchmarkRunner() = default;
OpenPOWER on IntegriCloud