[llvm-commits] CVS: llvm/tools/analyze/AnalysisWrappers.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 27 02:05:05 PDT 2004
Changes in directory llvm/tools/analyze:
AnalysisWrappers.cpp updated: 1.10 -> 1.11
---
Log message:
Right, globals aren't values yet..
---
Diffs of the changes: (+1 -1)
Index: llvm/tools/analyze/AnalysisWrappers.cpp
diff -u llvm/tools/analyze/AnalysisWrappers.cpp:1.10 llvm/tools/analyze/AnalysisWrappers.cpp:1.11
--- llvm/tools/analyze/AnalysisWrappers.cpp:1.10 Thu May 27 01:13:36 2004
+++ llvm/tools/analyze/AnalysisWrappers.cpp Thu May 27 01:43:37 2004
@@ -58,7 +58,7 @@
if (CS.getInstruction()) {
for (CallSite::arg_iterator AI = CS.arg_begin(),
E = CS.arg_end(); AI != E; ++AI)
- if (isa<Constant>(*AI)) {
+ if (isa<Constant>(*AI) || isa<GlobalValue>(*AI)) {
if (!PrintedFn) {
std::cerr << "Function '" << I->getName() << "':\n";
PrintedFn = true;
More information about the llvm-commits
mailing list