summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-10 03:23:27 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-10 03:23:27 +0000
commit8c28ac9ec9c0110028369f2d8b1f25ff92d0bd02 (patch)
treed3dc3a3459912a6ad9c87bad2c9597cf435433ed /clang/lib/CodeGen/CodeGenModule.cpp
parenta0a96895501ecb3696c9ef80289584fe885a4abe (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud