diff options
author | Devang Patel <dpatel@apple.com> | 2009-10-27 20:47:17 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-10-27 20:47:17 +0000 |
commit | bdf45cbe1526e33c17a17acd7467cb65d32b6a4f (patch) | |
tree | 28d0409bbde970c74afdeefcaef3359aa998309a /lib/Analysis/SparsePropagation.cpp | |
parent | eadeffb30658de2abc798178dd7b645e68972db0 (diff) |
Do not held on to DenseMap slot accross map insertion. The insertion may cause the map to grow rending the slot invalid.
Use this opportunity to use ValueMap instead of DenseMap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/SparsePropagation.cpp')
0 files changed, 0 insertions, 0 deletions