about summary refs log tree commit diff stats
path: root/shell/trace.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-03-07 19:46:21 -0800
committerKartik Agaram <vc@akkartik.com>2021-03-07 19:46:21 -0800
commit1a1a1671edd8d27cdd6229c08e6b40a202d85740 (patch)
tree1bf770bbea05d49908516d89bf59da476f7573bf /shell/trace.mu
parente5b8721ca4a4c7608a275eec6c7f43f98e2a67e5 (diff)
downloadmu-1a1a1671edd8d27cdd6229c08e6b40a202d85740.tar.gz
7866
Diffstat (limited to 'shell/trace.mu')
-rw-r--r--shell/trace.mu12
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/trace.mu b/shell/trace.mu
index 26393d2b..e3269088 100644
--- a/shell/trace.mu
+++ b/shell/trace.mu
@@ -70,8 +70,8 @@ fn has-errors? _self: (addr trace) -> _/eax: boolean {
     var curr/eax: (addr trace-line) <- index trace, offset
     var curr-label-ah/eax: (addr handle array byte) <- get curr, label
     var curr-label/eax: (addr array byte) <- lookup *curr-label-ah
-    var is-error?/eax: boolean <- string-equal? curr-label, "error"
-    compare is-error?, 0/false
+    var error?/eax: boolean <- string-equal? curr-label, "error"
+    compare error?, 0/false
     {
       break-if-=
       return 1/true
@@ -340,9 +340,9 @@ fn render-trace screen: (addr screen), _self: (addr trace), xmin: int, ymin: int
         copy-to *cursor-line-index, i
       }
       # always display errors
-      var is-error?/eax: boolean <- string-equal? curr-label, "error"
+      var error?/eax: boolean <- string-equal? curr-label, "error"
       {
-        compare is-error?, 0/false
+        compare error?, 0/false
         break-if-=
         y <- render-trace-line screen, curr, xmin, y, xmax, ymax, 0xc/fg=trace-error, bg
         copy-to already-hiding-lines?, 0/false
@@ -383,8 +383,8 @@ fn render-trace-line screen: (addr screen), _self: (addr trace-line), xmin: int,
   var label-ah/eax: (addr handle array byte) <- get self, label
   var _label/eax: (addr array byte) <- lookup *label-ah
   var label/ebx: (addr array byte) <- copy _label
-  var is-error?/eax: boolean <- string-equal? label, "error"
-  compare is-error?, 0/false
+  var error?/eax: boolean <- string-equal? label, "error"
+  compare error?, 0/false
   {
     break-if-!=
     var x/eax: int <- copy xsave