summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-03-03 20:46:45 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-03-03 20:46:45 +0000
commit1ab99dd1741d470c421b357612d4bc1a8afe82d2 (patch)
treee84db82ff37ff2771ee30c0d06223e7c915f68f5 /llvm/lib/CodeGen/RegAllocGreedy.cpp
parent3a159294d053ef4f5f4123507a030b63a0c01d3a (diff)
downloadbcm5719-llvm-1ab99dd1741d470c421b357612d4bc1a8afe82d2.tar.gz
bcm5719-llvm-1ab99dd1741d470c421b357612d4bc1a8afe82d2.zip
[ADT] fail-fast iterators for DenseMap
This patch was landed in r231035 and reverted because it was buggy. This is fixed version of the same change. Summary: This patch is an attempt at making `DenseMapIterator`s "fail-fast". Fail-fast iterators that have been invalidated due to insertion into the host `DenseMap` deterministically trip an assert (in debug mode) on access, instead of non-deterministically hitting memory corruption issues. Reviewers: dexonsmith, dberlin, ruiu, chandlerc Reviewed By: chandlerc Subscribers: yaron.keren, chandlerc, llvm-commits Differential Revision: http://reviews.llvm.org/D7931 llvm-svn: 231125
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocGreedy.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud