mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Thread const correctness through a bunch of AliasAnalysis interfaces and
eliminate several const_casts. Make CallSite implicitly convertible to ImmutableCallSite. Rename the getModRefBehavior for intrinsic IDs to getIntrinsicModRefBehavior to avoid overload ambiguity with CallSite, which happens to be implicitly convertible to bool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110155 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -40,7 +40,8 @@ const LibCallLocationInfo &LibCallInfo::getLocationInfo(unsigned LocID) const {
|
||||
|
||||
/// getFunctionInfo - Return the LibCallFunctionInfo object corresponding to
|
||||
/// the specified function if we have it. If not, return null.
|
||||
const LibCallFunctionInfo *LibCallInfo::getFunctionInfo(Function *F) const {
|
||||
const LibCallFunctionInfo *
|
||||
LibCallInfo::getFunctionInfo(const Function *F) const {
|
||||
StringMap<const LibCallFunctionInfo*> *Map = getMap(Impl);
|
||||
|
||||
/// If this is the first time we are querying for this info, lazily construct
|
||||
|
||||
Reference in New Issue
Block a user