Skip to content
Commit 4801bd41 authored by Matthijs Kooijman's avatar Matthijs Kooijman
Browse files

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.

llvm-svn: 54778
parent 40471b3b
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