diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 18:52:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 18:52:31 +0000 |
commit | 3f53c8398d81065736a784469c9dd5afff85673f (patch) | |
tree | add905ddbb890be4a136082f1d3c78cf86cf7a1e /lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | |
parent | 65eeaad91d78b2a677ca889eaff60f6d807c7030 (diff) |
clean up the asmprinter header and privatize some stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index 2ae7d476b6..267c41faf0 100644 --- a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp @@ -109,7 +109,7 @@ static const char *DecodeDWARFEncoding(unsigned Encoding) { /// describing the encoding. Desc is an optional string saying what the /// encoding is specifying (e.g. "LSDA"). void DwarfPrinter::EmitEncodingByte(unsigned Val, const char *Desc) { - if (Asm->VerboseAsm) { + if (Asm->isVerbose()) { if (Desc != 0) Asm->OutStreamer.AddComment(Twine(Desc)+" Encoding = " + Twine(DecodeDWARFEncoding(Val))); @@ -123,7 +123,7 @@ void DwarfPrinter::EmitEncodingByte(unsigned Val, const char *Desc) { /// EmitCFAByte - Emit a .byte 42 directive for a DW_CFA_xxx value. void DwarfPrinter::EmitCFAByte(unsigned Val) { - if (Asm->VerboseAsm) { + if (Asm->isVerbose()) { if (Val >= dwarf::DW_CFA_offset && Val < dwarf::DW_CFA_offset+64) Asm->OutStreamer.AddComment("DW_CFA_offset + Reg (" + Twine(Val-dwarf::DW_CFA_offset) + ")"); @@ -135,7 +135,7 @@ void DwarfPrinter::EmitCFAByte(unsigned Val) { /// EmitSLEB128 - emit the specified signed leb128 value. void DwarfPrinter::EmitSLEB128(int Value, const char *Desc) const { - if (Asm->VerboseAsm && Desc) + if (Asm->isVerbose() && Desc) Asm->OutStreamer.AddComment(Desc); if (MAI->hasLEB128()) { @@ -160,7 +160,7 @@ void DwarfPrinter::EmitSLEB128(int Value, const char *Desc) const { /// EmitULEB128 - emit the specified signed leb128 value. void DwarfPrinter::EmitULEB128(unsigned Value, const char *Desc, unsigned PadTo) const { - if (Asm->VerboseAsm && Desc) + if (Asm->isVerbose() && Desc) Asm->OutStreamer.AddComment(Desc); if (MAI->hasLEB128() && PadTo == 0) { |