1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

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 2509b58c75
commit 5b427ce48b

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 << ");";