aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-01 04:51:13 +0000
committerChris Lattner <sabre@nondot.org>2010-04-01 04:51:13 +0000
commit93fbde1127e98f894d30bd980208aabd6e1b25cc (patch)
treeaf3b040ab2c762e674fa501225a6a27e4ade09bf /lib/AsmParser/LLParser.h
parent8e068543918ce088afefd56c43c9c2b0eeb5e55d (diff)
downloadexternal_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.h3
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) {