about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-17 11:50:06 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-17 11:50:43 -0700
commitab697ede406cb20fdf7e012dbd95e37c14ecdf2a (patch)
treef4f7a357c03f0df690c66b81457bff0c465044eb /apps
parente3d6e067c6a52848fb097313fa2f5f391f79e692 (diff)
downloadmu-ab697ede406cb20fdf7e012dbd95e37c14ecdf2a.tar.gz
7049
Diffstat (limited to 'apps')
-rw-r--r--apps/tile/environment.mu4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index 399e11a5..e087920f 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -581,14 +581,12 @@ fn render-sandbox screen: (addr screen), functions: (addr handle function), bind
   }
   #
   var curr-path-storage: (handle call-path-element)
-  var curr-path/esi: (addr handle call-path-element) <- address curr-path-storage
+  var curr-path/eax: (addr handle call-path-element) <- address curr-path-storage
   allocate curr-path  # leak
-  var sandbox/eax: (addr sandbox) <- copy _sandbox
   initialize-path-from-sandbox sandbox, curr-path
 #?   print-string 0, "==\n"
   var dummy/ecx: int <- render-line screen, functions, 0, line, expanded-words, 3, left-col, curr-path, cursor-word, cursor-call-path, cursor-col-a  # input-row=3
   # if necessary, draw the rename-word modal dialog
-  var sandbox/esi: (addr sandbox) <- copy _sandbox
   var cursor-row/eax: int <- call-depth-at-cursor _sandbox
   render-rename-dialog screen, sandbox, cursor-row, cursor-col
   # Finally, position the cursor correctly.