diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-13 18:21:24 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-13 18:21:24 +0000 |
commit | 4ad41871eba4ec8bfe5a967f596b85814fa5fe4b (patch) | |
tree | b71b970fd3884994c89e98e686dc3b0d14b73819 /lib/MC/MCParser | |
parent | 7e9df19d5f935c52ed4f550997f944930874146d (diff) | |
download | llvm-4ad41871eba4ec8bfe5a967f596b85814fa5fe4b.tar.gz llvm-4ad41871eba4ec8bfe5a967f596b85814fa5fe4b.tar.bz2 llvm-4ad41871eba4ec8bfe5a967f596b85814fa5fe4b.tar.xz |
MCDwarf: Simply MCDwarfFile since it really is just a StringRef and unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCParser')
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index db448ae8be..889fb9dcb3 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -1592,7 +1592,7 @@ bool AsmParser::parseStatement(ParseStatementInfo &Info) { const SmallVectorImpl<MCDwarfFile *> &MCDwarfFiles = getContext().getMCDwarfFiles(); if (CppHashFilename.size() != 0) { - if (MCDwarfFiles[getContext().getGenDwarfFileNumber()]->getName() != + if (MCDwarfFiles[getContext().getGenDwarfFileNumber()]->Name != CppHashFilename) getStreamer().EmitDwarfFileDirective( getContext().nextGenDwarfFileNumber(), StringRef(), |