Commit 789aca1
authored
Fix setting weight for inverted loop condition block (#74444)
In stress scenarios with inconsistent weights, it was possible
to change the condition weight from zero to non-zero without
resetting the "rarely run" bit. Use `inheritWeight()` to set
the weight, which handles this case.
Fixes #742181 parent 06473b7 commit 789aca1
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5063 | 5063 | | |
5064 | 5064 | | |
5065 | 5065 | | |
5066 | | - | |
| 5066 | + | |
| 5067 | + | |
5067 | 5068 | | |
5068 | 5069 | | |
5069 | 5070 | | |
5070 | | - | |
| 5071 | + | |
5071 | 5072 | | |
5072 | 5073 | | |
5073 | 5074 | | |
| |||
0 commit comments