diff options
| author | Fangrui Song <maskray@google.com> | 2018-07-16 18:51:40 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2018-07-16 18:51:40 +0000 |
| commit | cb0bab86b3f47c82ce415a5e7d12849dbdd58699 (patch) | |
| tree | fa3d88a9a60bd01535535cd6d14849a3a3ff2711 /llvm/lib/CodeGen/MIRParser | |
| parent | b05be5f4b4cc5d426dd8ee7aac8b83556453a766 (diff) | |
| download | bcm5719-llvm-cb0bab86b3f47c82ce415a5e7d12849dbdd58699.tar.gz bcm5719-llvm-cb0bab86b3f47c82ce415a5e7d12849dbdd58699.zip | |
[CodeGen] Fix inconsistent declaration parameter name
llvm-svn: 337200
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser')
| -rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIParser.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIParser.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp index 63e5d4d8e8c..09ff77b1af9 100644 --- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp +++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp @@ -203,7 +203,7 @@ public: bool parseRegisterOperand(MachineOperand &Dest, Optional<unsigned> &TiedDefIdx, bool IsDef = false); bool parseImmediateOperand(MachineOperand &Dest); - bool parseIRConstant(StringRef::iterator Loc, StringRef Source, + bool parseIRConstant(StringRef::iterator Loc, StringRef StringValue, const Constant *&C); bool parseIRConstant(StringRef::iterator Loc, const Constant *&C); bool parseLowLevelType(StringRef::iterator Loc, LLT &Ty); @@ -222,7 +222,7 @@ public: bool parseJumpTableIndexOperand(MachineOperand &Dest); bool parseExternalSymbolOperand(MachineOperand &Dest); bool parseMDNode(MDNode *&Node); - bool parseDIExpression(MDNode *&Node); + bool parseDIExpression(MDNode *&Expr); bool parseMetadataOperand(MachineOperand &Dest); bool parseCFIOffset(int &Offset); bool parseCFIRegister(unsigned &Reg); diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.h b/llvm/lib/CodeGen/MIRParser/MIParser.h index e08204407d0..b06ceb21b74 100644 --- a/llvm/lib/CodeGen/MIRParser/MIParser.h +++ b/llvm/lib/CodeGen/MIRParser/MIParser.h @@ -67,7 +67,7 @@ struct PerFunctionMIParsingState { const Name2RegClassMap &Names2RegClasses, const Name2RegBankMap &Names2RegBanks); - VRegInfo &getVRegInfo(unsigned VReg); + VRegInfo &getVRegInfo(unsigned Num); VRegInfo &getVRegInfoNamed(StringRef RegName); }; |

