mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
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:
parent
f21f85a0a7
commit
c3c35b1721
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user