From 1f77feff37d335a4271f4f4504c1582380044809 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 6 Nov 2020 18:25:52 -0800 Subject: 7201 --- apps/tile/environment.mu | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'apps') 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 } -- cgit 1.4.1-2-gfad0