about summary refs log tree commit diff stats
path: root/trace.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-09 13:21:05 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-09 13:21:32 -0700
commitb368f41a51c1e0f664485813035d7e62d4e725e6 (patch)
tree6fc4bcd6032a3e935f784b1393a1abf40d45f031 /trace.mu
parent2955018c7033df6919465fb72e292443a0013668 (diff)
downloadmu-b368f41a51c1e0f664485813035d7e62d4e725e6.tar.gz
875
Diffstat (limited to 'trace.mu')
-rw-r--r--trace.mu8
1 files changed, 1 insertions, 7 deletions
diff --git a/trace.mu b/trace.mu
index b2365d66..1626a7eb 100644
--- a/trace.mu
+++ b/trace.mu
@@ -707,13 +707,7 @@
           (loop)
         }
         ; print traces collapsed until just before original row
-        { begin
-          (done?:boolean <- greater-or-equal cursor-row:integer/space:1 original-trace-index:integer)
-          (break-if done?:boolean)
-          (tr:instruction-trace-address <- index traces:instruction-trace-address-array-address/space:1/deref cursor-row:integer/space:1)
-          (print-instruction-trace-collapsed screen:terminal-address tr:instruction-trace-address 0:space-address/browser-state)
-          (loop)
-        }
+        (print-traces-collapsed-from 0:space-address/browser-state screen:terminal-address cursor-row:integer/space:1 original-trace-index:integer/until)
         ; fall through
       }
     }