diff options
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r-- | include/llvm/Constants.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 30b48beb87..e26bb62c35 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -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); |