Push LLVMContexts through the IntegerType APIs.
[oota-llvm.git] / include / llvm / Constants.h
index 30b48beb87b6617368761a4b91c93419f2bd84ac..e26bb62c357ba4d774b7c59a0b75c8a8a9ab71ce 100644 (file)
@@ -346,7 +346,8 @@ public:
   /// of the array by one (you've been warned).  However, in some situations 
   /// this is not desired so if AddNull==false then the string is copied without
   /// null termination.
-  static Constant* get(const StringRef &Initializer, bool AddNull = true);
+  static Constant* get(LLVMContext &Context, const StringRef &Initializer,
+                       bool AddNull = true);
   
   /// Transparently provide more efficient getOperand methods.
   DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);