diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2006-10-31 06:11:06 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2006-10-31 06:11:06 +0000 |
commit | b52cf1f1947513c1079a08763594fbb5721e80b5 (patch) | |
tree | 28ad8c2bd46297a5a63f84a50dc75ae8a13115ef /include/llvm/CodeGen | |
parent | d063189c0958536aae7ecebec5676541b2cdef9b (diff) | |
download | llvm-b52cf1f1947513c1079a08763594fbb5721e80b5.tar.gz llvm-b52cf1f1947513c1079a08763594fbb5721e80b5.tar.bz2 llvm-b52cf1f1947513c1079a08763594fbb5721e80b5.tar.xz |
Unbreaking static ctors patch.
Defaulting second arguments of SwitchTo*Section, this should make things
somehow clearer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 223841e1d2..7be2482b62 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -79,7 +79,7 @@ namespace llvm { /// /// 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 @@ namespace llvm { /// 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 |