From d1095407eaf64c4d321df36fe962f768ec5ced80 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 8 Jul 2009 22:25:56 +0000 Subject: Fix thinko. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75061 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/LLParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/AsmParser') 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 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()); -- cgit v1.1