diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-03-08 22:23:36 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-03-08 22:23:36 +0000 |
| commit | bc9210cb7034c87a30ad4179c2c4b2482137b4db (patch) | |
| tree | 3a3c9e2c7ae0fbb148f62149d6f69e93461ffc17 /llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp | |
| parent | d2030e38a63867c0186b77d200b7512cefb5a44a (diff) | |
| download | bcm5719-llvm-bc9210cb7034c87a30ad4179c2c4b2482137b4db.tar.gz bcm5719-llvm-bc9210cb7034c87a30ad4179c2c4b2482137b4db.zip | |
elimiante the DWLabel class, using MCSymbol instead. Start
switching some stuff over to passing around MCSymbol* instead
of stem+ID.
llvm-svn: 97993
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp deleted file mode 100644 index 6e9293a03bd..00000000000 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfLabel.cpp +++ /dev/null @@ -1,32 +0,0 @@ -//===--- lib/CodeGen/DwarfLabel.cpp - Dwarf Label -------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// DWARF Labels -// -//===----------------------------------------------------------------------===// - -#include "DwarfLabel.h" -#include "llvm/ADT/FoldingSet.h" -#include "llvm/Support/raw_ostream.h" - -using namespace llvm; - -/// Profile - Used to gather unique data for the folding set. -/// -void DWLabel::Profile(FoldingSetNodeID &ID) const { - ID.AddString(Tag); - ID.AddInteger(Number); -} - -#ifndef NDEBUG -void DWLabel::print(raw_ostream &O) const { - O << "." << Tag; - if (Number) O << Number; -} -#endif |

