summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-13 17:58:09 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-13 17:58:09 +0000
commitf4a640eaf60c8a4c75b68cf09402f3b3a5c79c47 (patch)
tree5c4491a2770a5c84b0c557bb84ae716768b3a1b7 /llvm/lib/MC/MCContext.cpp
parent821a3a0f77052fee77bd86f241fe6a7740f59549 (diff)
downloadbcm5719-llvm-f4a640eaf60c8a4c75b68cf09402f3b3a5c79c47.tar.gz
bcm5719-llvm-f4a640eaf60c8a4c75b68cf09402f3b3a5c79c47.zip
Remove stale comment
llvm-svn: 203823
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r--llvm/lib/MC/MCContext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp
index f7e30f5b067..7f211255c6f 100644
--- a/llvm/lib/MC/MCContext.cpp
+++ b/llvm/lib/MC/MCContext.cpp
@@ -330,10 +330,6 @@ const MCSectionCOFF *MCContext::getCOFFSection(StringRef Section) {
/// allocated file number is returned. The file numbers may be in any order.
unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName,
unsigned FileNumber, unsigned CUID) {
- // TODO: a FileNumber of zero says to use the next available file number.
- // Note: in GenericAsmParser::ParseDirectiveFile() FileNumber was checked
- // to not be less than one. This needs to be change to be not less than zero.
-
MCDwarfFileTable &Table = MCDwarfFileTablesCUMap[CUID];
SmallVectorImpl<MCDwarfFile *>& MCDwarfFiles = Table.getMCDwarfFiles();
SmallVectorImpl<StringRef>& MCDwarfDirs = Table.getMCDwarfDirs();
OpenPOWER on IntegriCloud