diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-12 00:17:35 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-12 00:17:35 -0700 |
commit | 92ca78429cf37f4d9a7c43c052d4f06706a5dac8 (patch) | |
tree | c2935ec0d2185d8095a0231ada01e2c449455bbf /mu_summary | |
parent | d5171ad7feaa153eaea25f959919258393bd99dc (diff) | |
download | mu-92ca78429cf37f4d9a7c43c052d4f06706a5dac8.tar.gz |
6131 - operating on arrays on the stack
Diffstat (limited to 'mu_summary')
-rw-r--r-- | mu_summary | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mu_summary b/mu_summary index addfa340..7ecea2b1 100644 --- a/mu_summary +++ b/mu_summary @@ -199,7 +199,9 @@ Similarly, conditional loops: var/reg: int <- length arr/reg: (addr array T) var/reg: (addr T) <- index arr/reg: (addr array T), idx/reg: int + var/reg: (addr T) <- index arr: (array T sz), idx/reg: int var/reg: (addr T) <- index arr/reg: (addr array T), n + var/reg: (addr T) <- index arr: (array T sz), n var/reg: (offset T) <- compute-offset arr: (addr array T), idx/reg: int # arr can be in reg or mem var/reg: (offset T) <- compute-offset arr: (addr array T), idx: int # arr can be in reg or mem |