forked from OSchip/llvm-project
parent
4aaaaabe87
commit
6a208e8c5f
|
@ -118,7 +118,7 @@ getOpcodesOrDie(const llvm::MCInstrInfo &MCInstrInfo) {
|
|||
return {static_cast<unsigned>(OpcodeIndex)};
|
||||
if (OpcodeIndex < 0) {
|
||||
std::vector<unsigned> Result;
|
||||
for (unsigned I = 1, E = MCInstrInfo.getNumOpcodes(); I <= E; ++I)
|
||||
for (unsigned I = 1, E = MCInstrInfo.getNumOpcodes(); I < E; ++I)
|
||||
Result.push_back(I);
|
||||
return Result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue