Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.55 -> 1.56 --- Log message: Unbreaking static ctors patch. Defaulting second arguments of SwitchTo*Section, this should make things somehow clearer. --- Diffs of the changes: (+2 -2) AsmPrinter.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/CodeGen/AsmPrinter.h diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.55 llvm/include/llvm/CodeGen/AsmPrinter.h:1.56 --- llvm/include/llvm/CodeGen/AsmPrinter.h:1.55 Tue Oct 24 15:32:14 2006 +++ llvm/include/llvm/CodeGen/AsmPrinter.h Tue Oct 31 00:11:06 2006 @@ -79,7 +79,7 @@ /// /// This method is used when about to emit executable code. /// - void SwitchToTextSection(const char *NewSection, const GlobalValue *GV); + void SwitchToTextSection(const char *NewSection, const GlobalValue *GV = NULL); /// SwitchToDataSection - Switch to the specified section of the executable /// if we are not already in it! If GV is non-null and if the global has an @@ -93,7 +93,7 @@ /// is the same as the SwitchToTextSection method, but not all assemblers /// are the same. /// - void SwitchToDataSection(const char *NewSection, const GlobalValue *GV); + void SwitchToDataSection(const char *NewSection, const GlobalValue *GV = NULL); /// getGlobalLinkName - Returns the asm/link name of of the specified /// global variable. Should be overridden by each target asm printer to _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits