diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-03 23:20:21 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-03 23:20:21 +0000 |
| commit | 8ce12538c1ee5ab82496594a31c6238ae0d73ea5 (patch) | |
| tree | 060452e531cacc6a8c580eeb4e643130aa3ba31d /llvm/include | |
| parent | e1ca39456b170dd5451e0992d3d909240f615f9f (diff) | |
| download | bcm5719-llvm-8ce12538c1ee5ab82496594a31c6238ae0d73ea5.tar.gz bcm5719-llvm-8ce12538c1ee5ab82496594a31c6238ae0d73ea5.zip | |
eliminate CurrentSection, rename CurrentSection_ -> CurrentSection, make it private,
eliminate IsInTextSection.
llvm-svn: 78017
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index cab75f1852d..847c9452664 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -60,6 +60,10 @@ namespace llvm { typedef gcp_map_type::iterator gcp_iterator; gcp_map_type GCMetadataPrinters; + /// CurrentSection - The current section we are emitting to. This is + /// controlled and used by the SwitchToSection method. + const MCSection *CurrentSection; + protected: /// MMI - If available, this is a pointer to the current MachineModuleInfo. MachineModuleInfo *MMI; @@ -110,14 +114,9 @@ namespace llvm { /// std::string CurrentFnName; - /// CurrentSection - The current section we are emitting to. This is - /// controlled and used by the SwitchSection method. - std::string CurrentSection; - const MCSection *CurrentSection_; - - /// IsInTextSection - True if the current section we are emitting to is a - /// text section. - bool IsInTextSection; + /// getCurrentSection() - Return the current section we are emitting to. + const MCSection *getCurrentSection() const { return CurrentSection; } + /// VerboseAsm - Emit comments in assembly output if this is true. /// |

