aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/regcomp.c
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
commit15121ca0d18e6a0f6a16f8a696f4efc3782dc965 (patch)
treefa9130bbbf99063a36a5f389c5aa7c928d4e4548 /lib/Support/regcomp.c
parent94bc246a8b2fd0ef371c8f3846ac9a5a367ed9ab (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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/regcomp.c')
0 files changed, 0 insertions, 0 deletions