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:
parent
2509b58c75
commit
5b427ce48b
@ -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 << ");";
|
||||
|
Loading…
Reference in New Issue
Block a user