Commit 2ed1cd8
authored
Fix getMemSlotDependencies recursive call guard (#76)
In 2d07fba a guard against infinite recursion was added for cases when
dependency index equals to selected idx.
This turns out to be too conservative, blocking propagation for simple
cases like:
r7 += 150
r2 = r7 # dependency tree would stop here
r3 = r2
Fix this by checking the target memSlotId as well in the guard.1 parent 58d0dbd commit 2ed1cd8
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
419 | 422 | | |
420 | 423 | | |
421 | 424 | | |
| |||
0 commit comments