summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-07-18 00:43:29 +0000
committerAdrian Prantl <aprantl@apple.com>2013-07-18 00:43:29 +0000
commit9aab9002a6389d77727b5e9d55839d0bc11076da (patch)
tree81958bbe7857f24bfc98a7d574a46cccee71836a /clang/lib/CodeGen/CGDebugInfo.cpp
parent01eb2a53c7b19737c00ce306a0ac8aaaa849cb3f (diff)
downloadbcm5719-llvm-9aab9002a6389d77727b5e9d55839d0bc11076da.tar.gz
bcm5719-llvm-9aab9002a6389d77727b5e9d55839d0bc11076da.zip
Fix a compile error caught by bb-chapuni.
llvm-svn: 186554
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 35b917f9c40..58bd1634dae 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -77,7 +77,7 @@ BuiltinLocation::BuiltinLocation(CodeGenFunction &CGF, CGBuilderTy &B)
DI->CurLoc = SourceLocation();
// Construct a location that has a valid scope, but no line info.
llvm::MDNode *Scope = DI->LexicalBlockStack.empty() ?
- DI->TheCU : DI->LexicalBlockStack.back();
+ DI->TheCU() : DI->LexicalBlockStack.back();
Builder.SetCurrentDebugLocation(llvm::DebugLoc::get(0, 0, Scope));
}
}
OpenPOWER on IntegriCloud