Move a few more convenience factory functions from Constant to LLVMContext.
[oota-llvm.git] / include / llvm / CallGraphSCCPass.h
index af5cb849a38afa3782ee434148a953f6c19d13e7..d5ff17cf247c03f0e2914c3cac81cfc99cfcbfb7 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -31,6 +31,9 @@ class PMStack;
 
 struct CallGraphSCCPass : public Pass {
 
+  explicit CallGraphSCCPass(intptr_t pid) : Pass(pid) {}
+  explicit CallGraphSCCPass(void *pid) : Pass(pid) {}
+
   /// doInitialization - This method is called before the SCC's of the program
   /// has been processed, allowing the pass to do initialization as necessary.
   virtual bool doInitialization(CallGraph &CG) {