aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-08 22:25:56 +0000
committerDevang Patel <dpatel@apple.com>2009-07-08 22:25:56 +0000
commitd1095407eaf64c4d321df36fe962f768ec5ced80 (patch)
treecaf636e707467d3ef581352d9c5f82d2b5e3ddfc /lib/AsmParser
parent73097623650346be7fb01b773894bc3d8ea7ac8d (diff)
downloadexternal_llvm-d1095407eaf64c4d321df36fe962f768ec5ced80.zip
external_llvm-d1095407eaf64c4d321df36fe962f768ec5ced80.tar.gz
external_llvm-d1095407eaf64c4d321df36fe962f768ec5ced80.tar.bz2
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r--lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index 2f25b77..826c64f 100644
--- a/lib/AsmParser/LLParser.cpp
+++ b/lib/AsmParser/LLParser.cpp
@@ -1654,7 +1654,7 @@ bool LLParser::ParseValID(ValID &ID) {
else {
// Create MDNode forward reference
SmallVector<Value *, 1> Elts;
- std::string FwdRefName = "llvm.mdnode.fwdref." + MID;
+ std::string FwdRefName = "llvm.mdnode.fwdref." + utostr(MID);
Elts.push_back(Context.getMDString(FwdRefName));
MDNode *FwdNode = Context.getMDNode(Elts.data(), Elts.size());
ForwardRefMDNodes[MID] = std::make_pair(FwdNode, Lex.getLoc());