mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Don't use operator[], use the new method instead, which is faster. This speeds
up the TD pass about 30% for povray and perlbmk. It's still not clear why copying a 5MB set of graphs turns into a 25MB set of graphs though :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54fdcb2480
commit
3bc703ba22
@ -1273,7 +1273,7 @@ void DSGraph::cloneInto(const DSGraph &G, unsigned CloneFlags) {
|
||||
for (DSScalarMap::const_iterator I = G.ScalarMap.begin(),
|
||||
E = G.ScalarMap.end(); I != E; ++I) {
|
||||
DSNodeHandle &MappedNode = OldNodeMap[I->second.getNode()];
|
||||
DSNodeHandle &H = ScalarMap[I->first];
|
||||
DSNodeHandle &H = ScalarMap.getRawEntryRef(I->first);
|
||||
DSNode *MappedNodeN = MappedNode.getNode();
|
||||
H.mergeWith(DSNodeHandle(MappedNodeN,
|
||||
I->second.getOffset()+MappedNode.getOffset()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user