diff options
Diffstat (limited to 'lib/VMCore/Core.cpp')
| -rw-r--r-- | lib/VMCore/Core.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index 44d487a8e2b40..634407ca13ff7 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -1671,7 +1671,7 @@ void LLVMDisposeBuilder(LLVMBuilderRef Builder) {  void LLVMSetCurrentDebugLocation(LLVMBuilderRef Builder, LLVMValueRef L) {    MDNode *Loc = L ? unwrap<MDNode>(L) : NULL; -  unwrap(Builder)->SetCurrentDebugLocation(NewDebugLoc::getFromDILocation(Loc)); +  unwrap(Builder)->SetCurrentDebugLocation(DebugLoc::getFromDILocation(Loc));  }  LLVMValueRef LLVMGetCurrentDebugLocation(LLVMBuilderRef Builder) {  | 
