mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Add some constantness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -295,7 +295,7 @@ public:
|
||||
/// isUsedFunction - Return true if the functions in the llvm.used list. This
|
||||
/// does not return true for things in llvm.compiler.used unless they are also
|
||||
/// in llvm.used.
|
||||
bool isUsedFunction(const Function *F) {
|
||||
bool isUsedFunction(const Function *F) const {
|
||||
return UsedFunctions.count(F);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user