mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 17:31:33 +00:00
Fix some crashes noted by John Mellor-Crummey's group.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f75c4b444b
commit
8694c076c7
@ -71,6 +71,12 @@ namespace PA {
|
||||
return *I->second;
|
||||
}
|
||||
|
||||
/// ContainsDSGraphFor - Return true if we have a graph for the specified
|
||||
/// function.
|
||||
bool ContainsDSGraphFor(const Function &F) const {
|
||||
return DSInfo.find(&F) != DSInfo.end();
|
||||
}
|
||||
|
||||
/// getSomeCalleeForCallSite - Return any one callee function at
|
||||
/// a call site.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user