[llvm-commits] [llvm] r53291 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/Target/TargetAsmInfo.cpp
Anton Korobeynikov
asl at math.spbu.ru
Wed Jul 9 06:17:36 PDT 2008
Author: asl
Date: Wed Jul 9 08:17:36 2008
New Revision: 53291
URL: http://llvm.org/viewvc/llvm-project?rev=53291&view=rev
Log:
Constify
Modified:
llvm/trunk/include/llvm/Target/TargetAsmInfo.h
llvm/trunk/lib/Target/TargetAsmInfo.cpp
Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetAsmInfo.h?rev=53291&r1=53290&r2=53291&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetAsmInfo.h Wed Jul 9 08:17:36 2008
@@ -469,7 +469,7 @@
/// 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.
//
Modified: llvm/trunk/lib/Target/TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetAsmInfo.cpp?rev=53291&r1=53290&r2=53291&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/TargetAsmInfo.cpp Wed Jul 9 08:17:36 2008
@@ -194,7 +194,7 @@
unsigned
TargetAsmInfo::SectionFlagsForGlobal(const GlobalValue *GV,
- const char* name) {
+ const char* name) const {
unsigned flags = SectionFlags::None;
// Decode flags from global itself.
More information about the llvm-commits
mailing list