about summary refs log tree commit diff stats
path: root/mu_summary
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-03-12 00:17:35 -0700
committerKartik Agaram <vc@akkartik.com>2020-03-12 00:17:35 -0700
commit92ca78429cf37f4d9a7c43c052d4f06706a5dac8 (patch)
treec2935ec0d2185d8095a0231ada01e2c449455bbf /mu_summary
parentd5171ad7feaa153eaea25f959919258393bd99dc (diff)
downloadmu-92ca78429cf37f4d9a7c43c052d4f06706a5dac8.tar.gz
6131 - operating on arrays on the stack
Diffstat (limited to 'mu_summary')
-rw-r--r--mu_summary2
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