[RewriteStatepointsForGC] Fix iterator invalidation bug
authorPhilip Reames <listmail@philipreames.com>
Sat, 28 Feb 2015 00:47:50 +0000 (00:47 +0000)
committerPhilip Reames <listmail@philipreames.com>
Sat, 28 Feb 2015 00:47:50 +0000 (00:47 +0000)
commitdfa22d308f6661cf739d41704929712486ab3086
treebce65bc3d661bf400630c4e381d1477fd109211f
parent63ac784d316788687d1a6d9e46ed0bd63387e53d
[RewriteStatepointsForGC] Fix iterator invalidation bug

Inserting into a DenseMap you're iterating over is not well defined.  This is unfortunate since this is well defined on a std::map.

"cleanup per llvm code style standards" bug #2

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230827 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp