Some cleanup. Use a class (OptionInfo) instead of a pair of a pair and remove
[oota-llvm.git] / include / llvm / PassSupport.h
index ee987131726af7b20ce7eab5a96016f3b1803227..0ca955ba6b844a4f732aac9f8a2abc584f3ae70a 100644 (file)
@@ -53,8 +53,7 @@ public:
   /// PassInfo ctor - Do not call this directly, this should only be invoked
   /// through RegisterPass.
   PassInfo(const char *name, const char *arg, const void *pi,
-           NormalCtor_t normal = 0,
-           bool isCFGOnly = false, bool is_analysis = false)
+           NormalCtor_t normal, bool isCFGOnly, bool is_analysis)
     : PassName(name), PassArgument(arg), PassID(pi), 
       IsCFGOnlyPass(isCFGOnly), 
       IsAnalysis(is_analysis), IsAnalysisGroup(false), NormalCtor(normal) {