diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-06 18:25:52 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-06 18:25:52 -0800 |
commit | 1f77feff37d335a4271f4f4504c1582380044809 (patch) | |
tree | f13a81e57d379ef1de3a3cba9c0ea45f410e4c7b | |
parent | cea9b05bb6393cdb0e9fe8f9f4d755cfa7c1ae01 (diff) | |
download | mu-1f77feff37d335a4271f4f4504c1582380044809.tar.gz |
7201
-rw-r--r-- | apps/tile/environment.mu | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 1e4ae762..82ddad5f 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -1382,14 +1382,12 @@ fn render-column screen: (addr screen), functions: (addr handle function), bindi compare *top-addr, 0 break-if-<= decrement *top-addr - { - var data-ah/eax: (addr handle array value) <- get stack-addr, data - var data/eax: (addr array value) <- lookup *data-ah - var top/ecx: int <- copy *top-addr - var dest-offset/ecx: (offset value) <- compute-offset data, top - var val/eax: (addr value) <- index data, dest-offset - render-value-at screen, curr-row, indented-col, val, max-width - } + var data-ah/eax: (addr handle array value) <- get stack-addr, data + var data/eax: (addr array value) <- lookup *data-ah + var top/ecx: int <- copy *top-addr + var dest-offset/ecx: (offset value) <- compute-offset data, top + var val/eax: (addr value) <- index data, dest-offset + render-value-at screen, curr-row, indented-col, val, max-width curr-row <- increment loop } |