about summary refs log tree commit diff stats
path: root/apps/tile
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-27 00:44:36 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-27 00:44:36 -0700
commitf926aaedfc78d3609253aa213ac43675b433007e (patch)
tree67b86c2350d6d1b60dd009bd2a6577d39e8f98d0 /apps/tile
parent61dca1cec4df6b748508e2cd81b609180c6143e5 (diff)
downloadmu-f926aaedfc78d3609253aa213ac43675b433007e.tar.gz
7126
Diffstat (limited to 'apps/tile')
-rw-r--r--apps/tile/value-stack.mu10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/tile/value-stack.mu b/apps/tile/value-stack.mu
index b954bf25..f196cb57 100644
--- a/apps/tile/value-stack.mu
+++ b/apps/tile/value-stack.mu
@@ -152,7 +152,7 @@ fn value-stack-max-width _self: (addr value-stack) -> result/eax: int {
 
 fn value-width _v: (addr value) -> result/eax: int {
   var out/edi: int <- copy 0
-  $value-width:body: {
+  $value-width:core: {
     var v/esi: (addr value) <- copy _v
     var type/eax: (addr int) <- get v, type
     {
@@ -161,7 +161,7 @@ fn value-width _v: (addr value) -> result/eax: int {
       var v-int/edx: (addr int) <- get v, int-data
       var _out/eax: int <- decimal-size *v-int
       out <- copy _out
-      break $value-width:body
+      break $value-width:core
     }
     {
       compare *type, 1  # string
@@ -179,7 +179,7 @@ fn value-width _v: (addr value) -> result/eax: int {
       }
       # we won't add 2 for surrounding quotes since we don't surround arrays
       # in spaces like other value types
-      break $value-width:body
+      break $value-width:core
     }
     {
       compare *type, 2  # array
@@ -190,7 +190,7 @@ fn value-width _v: (addr value) -> result/eax: int {
       break-if-=
       var _out/eax: int <- array-width a
       out <- copy _out
-      break $value-width:body
+      break $value-width:core
     }
     {
       compare *type, 3  # file handle
@@ -201,7 +201,7 @@ fn value-width _v: (addr value) -> result/eax: int {
       break-if-=
       # TODO
       out <- copy 4
-      break $value-width:body
+      break $value-width:core
     }
   }
   result <- copy out