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:
35f8c20
)
Actually add instructions to the list of defined values so it gets
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 15 Jun 2006 16:09:59 +0000
(16:09 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Thu, 15 Jun 2006 16:09:59 +0000
(16:09 +0000)
recognized as such! This prevents the CppWriter from treating every
operand as a forward reference and making a mess of the output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28800
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 c7cbe40d604e17a11b09d52b491e4479f670944c..41b9b7eef9222b8d109d7c083e94fcc1790c8d52 100644
(file)
--- a/
tools/llvm2cpp/CppWriter.cpp
+++ b/
tools/llvm2cpp/CppWriter.cpp
@@
-1193,6
+1193,7
@@
CppWriter::printInstruction(const Instruction *I, const std::string& bbname) {
break;
}
}
+ DefinedValues.insert(I);
Out << "\n";
delete [] opNames;
}