about summary refs log tree commit diff stats
path: root/apps/tile/word.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-24 21:17:25 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-24 21:17:25 -0700
commit0ecd596b7040d6e3ccb5237004a46b0199e40cd0 (patch)
tree7c1311b874800dcb574710a0ae88ce7d117a7915 /apps/tile/word.mu
parenta04f816cff4a2a558a522b859f8339637db6b726 (diff)
downloadmu-0ecd596b7040d6e3ccb5237004a46b0199e40cd0.tar.gz
6853 - tile: initialize a test function definition
Diffstat (limited to 'apps/tile/word.mu')
-rw-r--r--apps/tile/word.mu1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tile/word.mu b/apps/tile/word.mu
index e0d20f56..d8b7778a 100644
--- a/apps/tile/word.mu
+++ b/apps/tile/word.mu
@@ -3,6 +3,7 @@
 fn initialize-word-with _self: (addr word), s: (addr array byte) {
   var self/esi: (addr word) <- copy _self
   var data-ah/eax: (addr handle gap-buffer) <- get self, scalar-data
+  allocate data-ah
   var data/eax: (addr gap-buffer) <- lookup *data-ah
   initialize-gap-buffer-with data, s
 }