mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Add a new method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28915 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c80a51cfd
commit
69fd7a3973
@ -228,6 +228,13 @@ private:
|
|||||||
void addPointer(AliasSetTracker &AST, HashNodePair &Entry, unsigned Size,
|
void addPointer(AliasSetTracker &AST, HashNodePair &Entry, unsigned Size,
|
||||||
bool KnownMustAlias = false);
|
bool KnownMustAlias = false);
|
||||||
void addCallSite(CallSite CS, AliasAnalysis &AA);
|
void addCallSite(CallSite CS, AliasAnalysis &AA);
|
||||||
|
void removeCallSite(CallSite CS) {
|
||||||
|
for (unsigned i = 0, e = CallSites.size(); i != e; ++i)
|
||||||
|
if (CallSites[i].getInstruction() == CS.getInstruction()) {
|
||||||
|
CallSites[i] = CallSites.back();
|
||||||
|
CallSites.pop_back();
|
||||||
|
}
|
||||||
|
}
|
||||||
void setVolatile() { Volatile = true; }
|
void setVolatile() { Volatile = true; }
|
||||||
|
|
||||||
/// aliasesPointer - Return true if the specified pointer "may" (or must)
|
/// aliasesPointer - Return true if the specified pointer "may" (or must)
|
||||||
|
Loading…
Reference in New Issue
Block a user