commit | bdf45cbe1526e33c17a17acd7467cb65d32b6a4f | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Tue Oct 27 20:47:17 2009 +0000 |
committer | Devang Patel <dpatel@apple.com> | Tue Oct 27 20:47:17 2009 +0000 |
tree | 28d0409bbde970c74afdeefcaef3359aa998309a | |
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