Added Pass::createPass(ID) to handle pass configuration by ID
[oota-llvm.git] / include / llvm / CodeGen / Passes.h
index 2585aebc1c01bca5055593b1e15c10294930492e..884957173172af64d6ca22bf7125ef9faa0932b5 100644 (file)
@@ -135,7 +135,7 @@ protected:
   ///
 
   /// Add a target-independent CodeGen pass at this point in the pipeline.
-  void addCommonPass(char &ID);
+  void addPass(char &ID);
 
   /// printNoVerify - Add a pass to dump the machine function, if debugging is
   /// enabled.