From: Nicolas Geoffray Date: Sun, 10 Apr 2011 17:39:40 +0000 (+0000) Subject: Bugfix in the Cpp backend after API change on PHINode::Create. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c6cf19731504e7f922d1409ac118c59f5ab8e3c2;p=oota-llvm.git Bugfix in the Cpp backend after API change on PHINode::Create. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129248 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index 38de3b6888f..797cfd597e6 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -1348,7 +1348,7 @@ void CppWriter::printInstruction(const Instruction *I, const PHINode* phi = cast(I); Out << "PHINode* " << iName << " = PHINode::Create(" - << getCppName(phi->getType()) << ", \"" + << getCppName(phi->getType()) << ", " << phi->getNumIncomingValues() << ", \""; printEscapedString(phi->getName()); Out << "\", " << bbname << ");";