r186554 - Fix a compile error caught by bb-chapuni.
Adrian Prantl
aprantl at apple.com
Wed Jul 17 17:43:29 PDT 2013
Author: adrian
Date: Wed Jul 17 19:43:29 2013
New Revision: 186554
URL: http://llvm.org/viewvc/llvm-project?rev=186554&view=rev
Log:
Fix a compile error caught by bb-chapuni.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=186554&r1=186553&r2=186554&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Wed Jul 17 19:43:29 2013
@@ -77,7 +77,7 @@ BuiltinLocation::BuiltinLocation(CodeGen
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));
}
}
More information about the cfe-commits
mailing list