Bugfix in the Cpp backend after API change on PHINode::Create.

llvm-svn: 129248
This commit is contained in:
Nicolas Geoffray 2011-04-10 17:39:40 +00:00
parent dbe99ba37d
commit 9137ee85de
1 changed files with 1 additions and 1 deletions

View File

@ -1348,7 +1348,7 @@ void CppWriter::printInstruction(const Instruction *I,
const PHINode* phi = cast<PHINode>(I);
Out << "PHINode* " << iName << " = PHINode::Create("
<< getCppName(phi->getType()) << ", \""
<< getCppName(phi->getType()) << ", "
<< phi->getNumIncomingValues() << ", \"";
printEscapedString(phi->getName());
Out << "\", " << bbname << ");";