diff options
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 2 | ||||
-rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 65c0df4..7af2c03 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/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/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index cda939c..404e152 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/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. |