diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-01 04:51:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-01 04:51:13 +0000 |
commit | 93fbde1127e98f894d30bd980208aabd6e1b25cc (patch) | |
tree | af3b040ab2c762e674fa501225a6a27e4ade09bf /lib/AsmParser/LLParser.h | |
parent | 8e068543918ce088afefd56c43c9c2b0eeb5e55d (diff) | |
download | external_llvm-93fbde1127e98f894d30bd980208aabd6e1b25cc.zip external_llvm-93fbde1127e98f894d30bd980208aabd6e1b25cc.tar.gz external_llvm-93fbde1127e98f894d30bd980208aabd6e1b25cc.tar.bz2 |
eliminate a temporary smallvector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 9abe404..85cd086 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -171,8 +171,7 @@ namespace llvm { bool ParseOptionalCallingConv(CallingConv::ID &CC); bool ParseOptionalAlignment(unsigned &Alignment); bool ParseOptionalStackAlignment(unsigned &Alignment); - bool ParseInstructionMetadata(SmallVectorImpl<std::pair<unsigned, - MDNode *> > &); + bool ParseInstructionMetadata(Instruction *Inst); bool ParseOptionalCommaAlign(unsigned &Alignment, bool &AteExtraComma); bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma); bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { |