[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructureAA.cpp Steensgaard.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 27 17:42:46 PDT 2006



Changes in directory llvm/lib/Analysis/DataStructure:

DataStructureAA.cpp updated: 1.39 -> 1.40
Steensgaard.cpp updated: 1.63 -> 1.64
---
Log message:

simplify AnalysisGroup registration, eliminating one typeid call.


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

 DataStructureAA.cpp |    2 +-
 Steensgaard.cpp     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Analysis/DataStructure/DataStructureAA.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructureAA.cpp:1.39 llvm/lib/Analysis/DataStructure/DataStructureAA.cpp:1.40
--- llvm/lib/Analysis/DataStructure/DataStructureAA.cpp:1.39	Sun Aug 27 17:42:51 2006
+++ llvm/lib/Analysis/DataStructure/DataStructureAA.cpp	Sun Aug 27 19:42:29 2006
@@ -99,7 +99,7 @@
   RegisterPass<DSAA> X("ds-aa", "Data Structure Graph Based Alias Analysis");
 
   // Register as an implementation of AliasAnalysis
-  RegisterAnalysisGroup<AliasAnalysis, DSAA> Y;
+  RegisterAnalysisGroup<AliasAnalysis> Y(X);
 }
 
 ModulePass *llvm::createDSAAPass() { return new DSAA(); }


Index: llvm/lib/Analysis/DataStructure/Steensgaard.cpp
diff -u llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.63 llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.64
--- llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.63	Sun Aug 27 17:42:51 2006
+++ llvm/lib/Analysis/DataStructure/Steensgaard.cpp	Sun Aug 27 19:42:29 2006
@@ -77,7 +77,7 @@
                          "Steensgaard's alias analysis (DSGraph based)");
 
   // Register as an implementation of AliasAnalysis
-  RegisterAnalysisGroup<AliasAnalysis, Steens> Y;
+  RegisterAnalysisGroup<AliasAnalysis> Y(X);
 }
 
 ModulePass *llvm::createSteensgaardPass() { return new Steens(); }






More information about the llvm-commits mailing list