summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/tools/llvm-exegesis
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/unittests/tools/llvm-exegesis
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/unittests/tools/llvm-exegesis')
-rw-r--r--llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
index f8a7ccd6ebf..77de5e78926 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
@@ -220,7 +220,7 @@ public:
using BenchmarkRunner::BenchmarkRunner;
Instruction createInstruction(unsigned Opcode) {
- return Instruction(MCInstrInfo.get(Opcode), RATC);
+ return Instruction(State.getInstrInfo().get(Opcode), RATC);
}
private:
OpenPOWER on IntegriCloud