diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-09 13:17:36 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-09 13:17:36 +0000 |
| commit | aab504fb191f30d467b4dffe18221b29e2d31a46 (patch) | |
| tree | 1f0869a7b673851a0aff4a24662f799f6a0663d6 /llvm | |
| parent | 9e4ab5023abe1d4ea86322f60558b1d3b25d7988 (diff) | |
| download | bcm5719-llvm-aab504fb191f30d467b4dffe18221b29e2d31a46.tar.gz bcm5719-llvm-aab504fb191f30d467b4dffe18221b29e2d31a46.zip | |
Constify
llvm-svn: 53291
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Target/TargetAsmInfo.h | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/TargetAsmInfo.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Target/TargetAsmInfo.h b/llvm/include/llvm/Target/TargetAsmInfo.h index 65c0df49812..7af2c03aa63 100644 --- a/llvm/include/llvm/Target/TargetAsmInfo.h +++ b/llvm/include/llvm/Target/TargetAsmInfo.h @@ -469,7 +469,7 @@ namespace llvm { /// section flags either for given global or for section. unsigned SectionFlagsForGlobal(const GlobalValue *GV = NULL, - const char* name = NULL); + const char* name = NULL) const; // Accessors. // diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp index cda939c87cf..404e152da7b 100644 --- a/llvm/lib/Target/TargetAsmInfo.cpp +++ b/llvm/lib/Target/TargetAsmInfo.cpp @@ -194,7 +194,7 @@ TargetAsmInfo::SectionKindForGlobal(const GlobalValue *GV) const { unsigned TargetAsmInfo::SectionFlagsForGlobal(const GlobalValue *GV, - const char* name) { + const char* name) const { unsigned flags = SectionFlags::None; // Decode flags from global itself. |

