Skip to content
Commit 362eb69f authored by Dan Gohman's avatar Dan Gohman
Browse files

Fix an iterator invalidation problem. operator[] on a DenseMap

can insert a new element, invalidating iterators. Use find
instead, and handle the case where the key is not found explicitly.

llvm-svn: 151871
parent 8dfdd894
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment