1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

fix some residual old API that fell thru the cracks of the conversion script, closes http://llvm.org/bugs/show_bug.cgi?id=2246

llvm-svn: 50062
This commit is contained in:
Gabor Greif 2008-04-21 21:31:55 +00:00
parent b4db3f46ac
commit 4a1122fc9e

View File

@ -1315,7 +1315,7 @@ CppWriter::printInstruction(const Instruction *I, const std::string& bbname) {
case Instruction::PHI: {
const PHINode* phi = cast<PHINode>(I);
Out << "PHINode* " << iName << " = new PHINode("
Out << "PHINode* " << iName << " = PHINode::Create("
<< getCppName(phi->getType()) << ", \"";
printEscapedString(phi->getName());
Out << "\", " << bbname << ");";