mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-04 03:17:51 +00:00
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
This commit is contained in:
parent
3447b4f01b
commit
c6cf197315
@ -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…
x
Reference in New Issue
Block a user