[llvm] r260934 - [TableGen] Stop passing by reference an integer that doesn't get modified. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 15 20:24:56 PST 2016
Author: ctopper
Date: Mon Feb 15 22:24:56 2016
New Revision: 260934
URL: http://llvm.org/viewvc/llvm-project?rev=260934&view=rev
Log:
[TableGen] Stop passing by reference an integer that doesn't get modified. NFC
Modified:
llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp
llvm/trunk/utils/TableGen/X86RecognizableInstr.h
Modified: llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp?rev=260934&r1=260933&r2=260934&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp (original)
+++ llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp Mon Feb 15 22:24:56 2016
@@ -476,7 +476,7 @@ void RecognizableInstr::adjustOperandEnc
void RecognizableInstr::handleOperand(bool optional, unsigned &operandIndex,
unsigned &physicalOperandIndex,
- unsigned &numPhysicalOperands,
+ unsigned numPhysicalOperands,
const unsigned *operandMapping,
OperandEncoding (*encodingFromString)
(const std::string&,
Modified: llvm/trunk/utils/TableGen/X86RecognizableInstr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86RecognizableInstr.h?rev=260934&r1=260933&r2=260934&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86RecognizableInstr.h (original)
+++ llvm/trunk/utils/TableGen/X86RecognizableInstr.h Mon Feb 15 22:24:56 2016
@@ -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&,
More information about the llvm-commits
mailing list