1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00

[LTO] Mark member function as const to fix compiler errors.

llvm-svn: 282563
This commit is contained in:
Davide Italiano 2016-09-28 01:49:07 +00:00
parent 2bd649efa3
commit ffa0bcde99

View File

@ -171,7 +171,7 @@ public:
bool canBeOmittedFromSymbolTable() const { bool canBeOmittedFromSymbolTable() const {
return GV && llvm::canBeOmittedFromSymbolTable(GV); return GV && llvm::canBeOmittedFromSymbolTable(GV);
} }
bool isTLS() { bool isTLS() const {
// FIXME: Expose a thread-local flag for module asm symbols. // FIXME: Expose a thread-local flag for module asm symbols.
return GV && GV->isThreadLocal(); return GV && GV->isThreadLocal();
} }