diff options
| author | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2011-04-10 17:39:40 +0000 |
|---|---|---|
| committer | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2011-04-10 17:39:40 +0000 |
| commit | 9137ee85de8958d45844d9cb6fafae4695e2dc0f (patch) | |
| tree | 878566a544eaac7f22b44c9c3ad441ea9f68c5cd /llvm/lib/Target/CppBackend/CPPBackend.cpp | |
| parent | dbe99ba37d661c22e18af01ef1e0ccaa01ca0a0e (diff) | |
| download | llvm-9137ee85de8958d45844d9cb6fafae4695e2dc0f.zip llvm-9137ee85de8958d45844d9cb6fafae4695e2dc0f.tar.gz llvm-9137ee85de8958d45844d9cb6fafae4695e2dc0f.tar.bz2 | |
Bugfix in the Cpp backend after API change on PHINode::Create.
llvm-svn: 129248
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
| -rw-r--r-- | llvm/lib/Target/CppBackend/CPPBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index 38de3b6..797cfd5 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp @@ -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 << ");"; |
