projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639cdc2
)
fix some residual old API that fell thru the cracks of the conversion script, closes...
author
Gabor Greif
<ggreif@gmail.com>
Mon, 21 Apr 2008 21:31:55 +0000
(21:31 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Mon, 21 Apr 2008 21:31:55 +0000
(21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50062
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm2cpp/CppWriter.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm2cpp/CppWriter.cpp
b/tools/llvm2cpp/CppWriter.cpp
index f4ed2a460a5fa80ef50deca1956d7e837d8b9841..2c5418a84fe69ed5c65a8ada0721c0b60c5a2835 100644
(file)
--- a/
tools/llvm2cpp/CppWriter.cpp
+++ b/
tools/llvm2cpp/CppWriter.cpp
@@
-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 PHINod
e("
+ Out << "PHINode* " << iName << " =
PHINode::Creat
e("
<< getCppName(phi->getType()) << ", \"";
printEscapedString(phi->getName());
Out << "\", " << bbname << ");";