minor smallvector cleanups

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77441 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-07-29 06:29:53 +00:00
parent f21f85a0a7
commit c3c35b1721

View File

@ -26,7 +26,7 @@ class X86ATTAsmParser : public TargetAsmParser {
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::ParseMemOperand(X86Operand &Op) {
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.