Don't use an iterator which is potentially invalidated.
authorDan Gohman <gohman@apple.com>
Mon, 31 Aug 2009 21:58:28 +0000 (21:58 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 31 Aug 2009 21:58:28 +0000 (21:58 +0000)
commita5505cb9c992cb4bde5656fb6bd14d89b8f1a744
treeeed469131d8f7c2f677683380d6212de48cbb459
parent4344979ba9de3564d5f59f7947a6aec421d79288
Don't use an iterator which is potentially invalidated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80632 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp