mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[llvm-mca] Fix unused variable warning in opt mode.
llvm-svn: 327394
This commit is contained in:
parent
767a644ff6
commit
0c8c714bb4
@ -86,7 +86,7 @@ public:
|
||||
const auto It = Instructions.find(Index);
|
||||
assert(It != Instructions.end() && "no running instructions with index");
|
||||
assert(It->second);
|
||||
return *Instructions.find(Index)->second;
|
||||
return *It->second;
|
||||
}
|
||||
void eraseInstruction(unsigned Index) { Instructions.erase(Index); }
|
||||
unsigned getNumCycles() const { return Cycles; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user