aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h1
-rw-r--r--include/llvm/Target/TargetAsmInfo.h8
2 files changed, 3 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 931e31a..077f5b1 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -92,6 +92,7 @@ namespace llvm {
/// CurrentSection - The current section we are emitting to. This is
/// controlled and used by the SwitchSection method.
std::string CurrentSection;
+ const Section* CurrentSection_;
/// IsInTextSection - True if the current section we are emitting to is a
/// text section.
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 49a99c5..6e019fd 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -131,8 +131,7 @@ namespace llvm {
/// TextSection - Section directive for standard text.
///
- const char *TextSection; // Defaults to ".text".
- const Section *TextSection_;
+ const Section *TextSection; // Defaults to ".text".
/// DataSection - Section directive for standard data.
///
@@ -599,12 +598,9 @@ namespace llvm {
// Accessors.
//
- const char *getTextSection() const {
+ const Section *getTextSection() const {
return TextSection;
}
- const Section *getTextSection_() const {
- return TextSection_;
- }
const char *getDataSection() const {
return DataSection;
}