commit | a30ccb064b8e0d67c26e087b191561ee2e06aac9 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu Apr 17 07:25:59 2014 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Thu Apr 17 07:25:59 2014 +0000 |
tree | 7e9352d7d2d68d7e72dc24ab674b283356fe1ce2 | |
parent | 40f67f57649860bc676df359325c61abc0157a2e [diff] |
[LCG] Just move the allocator (now that we can) when moving a call graph. This simplifies the custom move constructor operation to one of walking the graph and updating the 'up' pointers to point to the new location of the graph. Switch the nodes from a reference to a pointer for the 'up' edge to facilitate this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206450 91177308-0d34-0410-b5e6-96231b3b80d8