[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h DwarfWriter.h
Jim Laskey
jlaskey at apple.com
Thu Sep 7 15:07:09 PDT 2006
Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.46 -> 1.47
DwarfWriter.h updated: 1.39 -> 1.40
---
Log message:
Make target asm info a property of the target machine.
---
Diffs of the changes: (+5 -5)
AsmPrinter.h | 4 ++--
DwarfWriter.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.46 llvm/include/llvm/CodeGen/AsmPrinter.h:1.47
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.46 Wed Sep 6 13:34:40 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h Thu Sep 7 17:06:40 2006
@@ -49,7 +49,7 @@
/// Target Asm Printer information.
///
- TargetAsmInfo *TAI;
+ const TargetAsmInfo *TAI;
/// Name-mangler for global names.
///
@@ -65,7 +65,7 @@
std::string CurrentSection;
protected:
- AsmPrinter(std::ostream &o, TargetMachine &TM, TargetAsmInfo *T);
+ AsmPrinter(std::ostream &o, TargetMachine &TM, const TargetAsmInfo *T);
public:
/// SwitchToTextSection - Switch to the specified section of the executable
Index: llvm/include/llvm/CodeGen/DwarfWriter.h
diff -u llvm/include/llvm/CodeGen/DwarfWriter.h:1.39 llvm/include/llvm/CodeGen/DwarfWriter.h:1.40
--- llvm/include/llvm/CodeGen/DwarfWriter.h:1.39 Wed Sep 6 13:34:40 2006
+++ llvm/include/llvm/CodeGen/DwarfWriter.h Thu Sep 7 17:06:40 2006
@@ -88,7 +88,7 @@
AsmPrinter *Asm;
/// TAI - Target Asm Printer.
- TargetAsmInfo *TAI;
+ const TargetAsmInfo *TAI;
/// TD - Target data.
const TargetData *TD;
@@ -387,12 +387,12 @@
public:
- DwarfWriter(std::ostream &OS, AsmPrinter *A, TargetAsmInfo *T);
+ DwarfWriter(std::ostream &OS, AsmPrinter *A, const TargetAsmInfo *T);
virtual ~DwarfWriter();
// Accessors.
//
- TargetAsmInfo *getTargetAsmInfo() const { return TAI; }
+ const TargetAsmInfo *getTargetAsmInfo() const { return TAI; }
/// SetDebugInfo - Set DebugInfo when it's known that pass manager has
/// created it. Set by the target AsmPrinter.
More information about the llvm-commits
mailing list