[llvm] r216580 - Remove unused argument.
Rafael Espindola
rafael.espindola at gmail.com
Wed Aug 27 12:49:03 PDT 2014
Author: rafael
Date: Wed Aug 27 14:49:03 2014
New Revision: 216580
URL: http://llvm.org/viewvc/llvm-project?rev=216580&view=rev
Log:
Remove unused argument.
Modified:
llvm/trunk/lib/MC/MCParser/AsmParser.cpp
Modified: llvm/trunk/lib/MC/MCParser/AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCParser/AsmParser.cpp?rev=216580&r1=216579&r2=216580&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCParser/AsmParser.cpp (original)
+++ llvm/trunk/lib/MC/MCParser/AsmParser.cpp Wed Aug 27 14:49:03 2014
@@ -89,8 +89,7 @@ struct MacroInstantiation {
size_t CondStackDepth;
public:
- MacroInstantiation(SMLoc IL, int EB, SMLoc EL, StringRef I,
- size_t CondStackDepth);
+ MacroInstantiation(SMLoc IL, int EB, SMLoc EL, size_t CondStackDepth);
};
struct ParseStatementInfo {
@@ -1859,7 +1858,7 @@ bool AsmParser::expandMacro(raw_svector_
}
MacroInstantiation::MacroInstantiation(SMLoc IL, int EB, SMLoc EL,
- StringRef I, size_t CondStackDepth)
+ size_t CondStackDepth)
: InstantiationLoc(IL), ExitBuffer(EB), ExitLoc(EL),
CondStackDepth(CondStackDepth) {}
@@ -2124,9 +2123,8 @@ bool AsmParser::handleMacroEntry(const M
// Create the macro instantiation object and add to the current macro
// instantiation stack.
- MacroInstantiation *MI =
- new MacroInstantiation(NameLoc, CurBuffer, getTok().getLoc(),
- Instantiation->getBuffer(), TheCondStack.size());
+ MacroInstantiation *MI = new MacroInstantiation(
+ NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
ActiveMacros.push_back(MI);
// Jump to the macro instantiation and prime the lexer.
@@ -4311,9 +4309,8 @@ void AsmParser::instantiateMacroLikeBody
// Create the macro instantiation object and add to the current macro
// instantiation stack.
- MacroInstantiation *MI =
- new MacroInstantiation(DirectiveLoc, CurBuffer, getTok().getLoc(),
- Instantiation->getBuffer(), TheCondStack.size());
+ MacroInstantiation *MI = new MacroInstantiation(
+ DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
ActiveMacros.push_back(MI);
// Jump to the macro instantiation and prime the lexer.
More information about the llvm-commits
mailing list