forked from OSchip/llvm-project
Bugfix in the Cpp backend after API change on PHINode::Create.
llvm-svn: 129248
This commit is contained in:
parent
dbe99ba37d
commit
9137ee85de
|
@ -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