Commit 64ddd51
committed
YJIT: Fix
Previously:
```
warning: value assigned to `value_array` is never read
--> yjit/src/codegen.rs:11446:9
|
11446 | value_array[1] = 4;
| ^^^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
```
It can't see the alias through `jit.pc`!warn(unused_assignments) in test_gen_opt_reverse1 parent 07490d1 commit 64ddd51
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11429 | 11429 | | |
11430 | 11430 | | |
11431 | 11431 | | |
11432 | | - | |
11433 | | - | |
11434 | | - | |
| 11432 | + | |
| 11433 | + | |
11435 | 11434 | | |
11436 | 11435 | | |
11437 | 11436 | | |
| |||
11442 | 11441 | | |
11443 | 11442 | | |
11444 | 11443 | | |
| 11444 | + | |
| 11445 | + | |
11445 | 11446 | | |
11446 | | - | |
11447 | 11447 | | |
11448 | 11448 | | |
11449 | 11449 | | |
| |||
0 commit comments