| commit | 8c28ac9ec9c0110028369f2d8b1f25ff92d0bd02 | [log] [tgz] |
|---|---|---|
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Aug 10 03:23:27 2012 +0000 |
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Aug 10 03:23:27 2012 +0000 |
| tree | d3dc3a3459912a6ad9c87bad2c9597cf435433ed | |
| parent | a0a96895501ecb3696c9ef80289584fe885a4abe [diff] |
Update edge weights correctly in replaceSuccessor(). When replacing Old with New, it can happen that New is already a successor. Add the old and new edge weights instead of creating a duplicate edge. llvm-svn: 161653