mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Remove unused argument.
llvm-svn: 216580
This commit is contained in:
parent
b87f463ced
commit
b85e777ca4
@ -89,8 +89,7 @@ struct MacroInstantiation {
|
|||||||
size_t CondStackDepth;
|
size_t CondStackDepth;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MacroInstantiation(SMLoc IL, int EB, SMLoc EL, StringRef I,
|
MacroInstantiation(SMLoc IL, int EB, SMLoc EL, size_t CondStackDepth);
|
||||||
size_t CondStackDepth);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ParseStatementInfo {
|
struct ParseStatementInfo {
|
||||||
@ -1859,7 +1858,7 @@ bool AsmParser::expandMacro(raw_svector_ostream &OS, StringRef Body,
|
|||||||
}
|
}
|
||||||
|
|
||||||
MacroInstantiation::MacroInstantiation(SMLoc IL, int EB, SMLoc EL,
|
MacroInstantiation::MacroInstantiation(SMLoc IL, int EB, SMLoc EL,
|
||||||
StringRef I, size_t CondStackDepth)
|
size_t CondStackDepth)
|
||||||
: InstantiationLoc(IL), ExitBuffer(EB), ExitLoc(EL),
|
: InstantiationLoc(IL), ExitBuffer(EB), ExitLoc(EL),
|
||||||
CondStackDepth(CondStackDepth) {}
|
CondStackDepth(CondStackDepth) {}
|
||||||
|
|
||||||
@ -2124,9 +2123,8 @@ bool AsmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc) {
|
|||||||
|
|
||||||
// Create the macro instantiation object and add to the current macro
|
// Create the macro instantiation object and add to the current macro
|
||||||
// instantiation stack.
|
// instantiation stack.
|
||||||
MacroInstantiation *MI =
|
MacroInstantiation *MI = new MacroInstantiation(
|
||||||
new MacroInstantiation(NameLoc, CurBuffer, getTok().getLoc(),
|
NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
|
||||||
Instantiation->getBuffer(), TheCondStack.size());
|
|
||||||
ActiveMacros.push_back(MI);
|
ActiveMacros.push_back(MI);
|
||||||
|
|
||||||
// Jump to the macro instantiation and prime the lexer.
|
// Jump to the macro instantiation and prime the lexer.
|
||||||
@ -4311,9 +4309,8 @@ void AsmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
|
|||||||
|
|
||||||
// Create the macro instantiation object and add to the current macro
|
// Create the macro instantiation object and add to the current macro
|
||||||
// instantiation stack.
|
// instantiation stack.
|
||||||
MacroInstantiation *MI =
|
MacroInstantiation *MI = new MacroInstantiation(
|
||||||
new MacroInstantiation(DirectiveLoc, CurBuffer, getTok().getLoc(),
|
DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
|
||||||
Instantiation->getBuffer(), TheCondStack.size());
|
|
||||||
ActiveMacros.push_back(MI);
|
ActiveMacros.push_back(MI);
|
||||||
|
|
||||||
// Jump to the macro instantiation and prime the lexer.
|
// Jump to the macro instantiation and prime the lexer.
|
||||||
|
Loading…
Reference in New Issue
Block a user