mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +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:
@@ -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 << ");";
|
||||
|
Reference in New Issue
Block a user