[llvm-commits] CVS: llvm/tools/analyze/analyze.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 16 11:24:07 PDT 2006



Changes in directory llvm/tools/analyze:

analyze.cpp updated: 1.67 -> 1.68
---
Log message:

Don't pass target name into TargetData anymore, it is never used or needed.



---
Diffs of the changes:  (+1 -1)

 analyze.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/tools/analyze/analyze.cpp
diff -u llvm/tools/analyze/analyze.cpp:1.67 llvm/tools/analyze/analyze.cpp:1.68
--- llvm/tools/analyze/analyze.cpp:1.67	Wed Jun  7 18:03:13 2006
+++ llvm/tools/analyze/analyze.cpp	Fri Jun 16 13:23:48 2006
@@ -148,7 +148,7 @@
     PassManager Passes;
 
     // Add an appropriate TargetData instance for this module...
-    Passes.add(new TargetData("analyze", CurMod));
+    Passes.add(new TargetData(CurMod));
 
     // Make sure the input LLVM is well formed.
     if (!NoVerify)






More information about the llvm-commits mailing list