[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h

Jim Laskey jlaskey at apple.com
Wed Jan 24 05:12:48 PST 2007



Changes in directory llvm/include/llvm/CodeGen:

AsmPrinter.h updated: 1.58 -> 1.59
---
Log message:

Use asm printer to emit alignment

---
Diffs of the changes:  (+2 -0)

 AsmPrinter.h |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.58 llvm/include/llvm/CodeGen/AsmPrinter.h:1.59
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.58	Sun Dec 17 21:37:18 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Wed Jan 24 07:12:32 2007
@@ -174,12 +174,14 @@
     /// do nothing and return false.
     bool EmitSpecialLLVMGlobal(const GlobalVariable *GV);
     
+  public:
     /// EmitAlignment - Emit an alignment directive to the specified power of
     /// two boundary.  For example, if you pass in 3 here, you will get an 8
     /// byte alignment.  If a global value is specified, and if that global has
     /// an explicit alignment requested, it will override the alignment request.
     void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0) const;
 
+  protected:
     /// EmitZeros - Emit a block of zeros.
     ///
     void EmitZeros(uint64_t NumZeros) const;






More information about the llvm-commits mailing list