diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-10 03:23:27 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-10 03:23:27 +0000 |
commit | 8c28ac9ec9c0110028369f2d8b1f25ff92d0bd02 (patch) | |
tree | d3dc3a3459912a6ad9c87bad2c9597cf435433ed /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a0a96895501ecb3696c9ef80289584fe885a4abe (diff) | |
download | bcm5719-llvm-8c28ac9ec9c0110028369f2d8b1f25ff92d0bd02.tar.gz bcm5719-llvm-8c28ac9ec9c0110028369f2d8b1f25ff92d0bd02.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions