aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-08-14 15:03:05 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-08-14 15:03:05 +0000
commitc1f1d46f000eacceaa861e5b083ef0424cb9b41a (patch)
treea249bfdf33e7a8320c861bbe00fa3c229aaab079 /lib/CodeGen/LiveInterval.cpp
parent97382166dd09ffafa91015cbf752bac4497abc08 (diff)
downloadexternal_llvm-c1f1d46f000eacceaa861e5b083ef0424cb9b41a.zip
external_llvm-c1f1d46f000eacceaa861e5b083ef0424cb9b41a.tar.gz
external_llvm-c1f1d46f000eacceaa861e5b083ef0424cb9b41a.tar.bz2
Replace two for loops with while(!X->use_empty()) loops. This prevents
invalidating the iterator by deleting the current use. This fixes a segfault on 64 bit linux reported in PR2675. Also remove an unneeded if. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
0 files changed, 0 insertions, 0 deletions