summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a53bf06)
raw | patch | inline | side by side (parent: a53bf06)
author | David Blaikie <dblaikie@gmail.com> | |
Fri, 15 Nov 2013 23:50:53 +0000 (23:50 +0000) | ||
committer | David Blaikie <dblaikie@gmail.com> | |
Fri, 15 Nov 2013 23:50:53 +0000 (23:50 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194892 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | patch | blob | history |
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index a47eeab430cf6dcb08a0bec3633e3813ed4fb0a6..175febddf258322350abab3ae464a55b7e6d5cc0 100644 (file)
/// getDefaultLowerBound - Return the default lower bound for an array. If the
/// DWARF version doesn't handle the language, return -1.
int64_t CompileUnit::getDefaultLowerBound() const {
- switch (DICompileUnit(Node).getLanguage()) {
+ switch (getLanguage()) {
default:
break;
}
// Add prototype flag if we're dealing with a C language and the
// function has been prototyped.
- uint16_t Language = DICompileUnit(Node).getLanguage();
+ uint16_t Language = getLanguage();
if (isPrototyped &&
(Language == dwarf::DW_LANG_C89 || Language == dwarf::DW_LANG_C99 ||
Language == dwarf::DW_LANG_ObjC))
// Add the prototype if we have a prototype and we have a C like
// language.
- uint16_t Language = DICompileUnit(Node).getLanguage();
+ uint16_t Language = getLanguage();
if (SP.isPrototyped() &&
(Language == dwarf::DW_LANG_C89 || Language == dwarf::DW_LANG_C99 ||
Language == dwarf::DW_LANG_ObjC))