mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Eliminated the CompletedNodes argument to the cloneReachable* methods. This
map was only used to implement a marginal GlobalsGraph optimization, and it actually slows the analysis down (due to the overhead of keeping it), so just eliminate it entirely. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -243,10 +243,8 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
void cloneReachableNodes(const DSNode* Node,
|
||||
unsigned BitsToClear,
|
||||
NodeMapTy& OldNodeMap,
|
||||
NodeMapTy& CompletedNodeMap);
|
||||
void cloneReachableNodes(const DSNode* Node, unsigned BitsToClear,
|
||||
NodeMapTy& OldNodeMap);
|
||||
|
||||
public:
|
||||
void updateFromGlobalGraph();
|
||||
@ -254,7 +252,6 @@ public:
|
||||
void cloneReachableSubgraph(const DSGraph& G,
|
||||
const hash_set<const DSNode*>& RootNodes,
|
||||
NodeMapTy& OldNodeMap,
|
||||
NodeMapTy& CompletedNodeMap,
|
||||
unsigned CloneFlags = 0);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user