[TableGen] Stop passing by reference an integer that doesn't get modified. NFC

llvm-svn: 260934
This commit is contained in:
Craig Topper 2016-02-16 04:24:56 +00:00
parent b89d189d37
commit 983be941bf
2 changed files with 2 additions and 2 deletions

View File

@ -476,7 +476,7 @@ void RecognizableInstr::adjustOperandEncoding(OperandEncoding &encoding) {
void RecognizableInstr::handleOperand(bool optional, unsigned &operandIndex,
unsigned &physicalOperandIndex,
unsigned &numPhysicalOperands,
unsigned numPhysicalOperands,
const unsigned *operandMapping,
OperandEncoding (*encodingFromString)
(const std::string&,

View File

@ -177,7 +177,7 @@ private:
void handleOperand(bool optional,
unsigned &operandIndex,
unsigned &physicalOperandIndex,
unsigned &numPhysicalOperands,
unsigned numPhysicalOperands,
const unsigned *operandMapping,
OperandEncoding (*encodingFromString)
(const std::string&,