diff options
| author | WormHeamer | 2025-08-07 02:47:23 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-08-07 02:47:23 -0400 |
| commit | 739b4852d2a826ba2985c7db2f5c778050f72250 (patch) | |
| tree | fec019eb1aac70ee23b6a16d61e4976780c353fe /test.lang | |
| parent | 6040eafed3e94efdea6f71b7018e978024193572 (diff) | |
preliminary peephole optimization of if statements
Diffstat (limited to 'test.lang')
| -rw-r--r-- | test.lang | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ proc main(a, b i64) { - if a > 5 { - a := a - 5 + if a = b { + b := 3 } return a } |
