mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Fix a bug pointed out by Zhongxing Xu
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ecdb9f93c4
commit
45d10470c9
@ -193,7 +193,7 @@ void CallGraph::initialize(Module &M) {
|
||||
}
|
||||
|
||||
void CallGraph::destroy() {
|
||||
if(!FunctionMap.size()) {
|
||||
if (!FunctionMap.empty()) {
|
||||
for (FunctionMapTy::iterator I = FunctionMap.begin(), E = FunctionMap.end();
|
||||
I != E; ++I)
|
||||
delete I->second;
|
||||
|
Loading…
Reference in New Issue
Block a user