[llvm-commits] [llvm] r77441 - /llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Chris Lattner
sabre at nondot.org
Tue Jul 28 23:29:53 PDT 2009
Author: lattner
Date: Wed Jul 29 01:29:53 2009
New Revision: 77441
URL: http://llvm.org/viewvc/llvm-project?rev=77441&view=rev
Log:
minor smallvector cleanups
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=77441&r1=77440&r2=77441&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Wed Jul 29 01:29:53 2009
@@ -26,7 +26,7 @@
private:
bool MatchInstruction(const StringRef &Name,
- llvm::SmallVector<X86Operand, 3> &Operands,
+ SmallVectorImpl<X86Operand> &Operands,
MCInst &Inst);
MCAsmParser &getParser() const { return Parser; }
@@ -290,13 +290,13 @@
bool
X86ATTAsmParser::MatchInstruction(const StringRef &Name,
- llvm::SmallVector<X86Operand, 3> &Operands,
+ SmallVectorImpl<X86Operand> &Operands,
MCInst &Inst) {
return false;
}
bool X86ATTAsmParser::ParseInstruction(const StringRef &Name, MCInst &Inst) {
- llvm::SmallVector<X86Operand, 3> Operands;
+ SmallVector<X86Operand, 3> Operands;
if (getLexer().isNot(AsmToken::EndOfStatement)) {
// Read the first operand.
More information about the llvm-commits
mailing list