diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-02-16 04:24:56 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-02-16 04:24:56 +0000 |
commit | 983be941bfdd4e6062982917020205884516288f (patch) | |
tree | 3742abea6cf52ce08a9f3fcf392abaedb40b9c3a /llvm/utils/TableGen/X86RecognizableInstr.cpp | |
parent | b89d189d3753680faa81dc12a7b1587b919d74b4 (diff) | |
download | bcm5719-llvm-983be941bfdd4e6062982917020205884516288f.tar.gz bcm5719-llvm-983be941bfdd4e6062982917020205884516288f.zip |
[TableGen] Stop passing by reference an integer that doesn't get modified. NFC
llvm-svn: 260934
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r-- | llvm/utils/TableGen/X86RecognizableInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp index 503ba84cf93..a41d247edca 100644 --- a/llvm/utils/TableGen/X86RecognizableInstr.cpp +++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp @@ -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&, |