diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-07 11:56:43 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-07 11:56:43 -0700 |
commit | d605ba1f9ab08ead61a73f2f102fd8741b4c0352 (patch) | |
tree | 1709e67a75d8f71b4fa3a79d6d3fe8a0c51c1f73 /shell/evaluate.mu | |
parent | d8298d1a2af876915cd4ba8d6a7b5ae7dc2dd0e3 (diff) | |
download | mu-d605ba1f9ab08ead61a73f2f102fd8741b4c0352.tar.gz |
clean up chessboard
We still benefit from some helpers here because of the unrolling and multiple calls to helpers.
Diffstat (limited to 'shell/evaluate.mu')
-rw-r--r-- | shell/evaluate.mu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/evaluate.mu b/shell/evaluate.mu index eb0b1e42..5e0122b0 100644 --- a/shell/evaluate.mu +++ b/shell/evaluate.mu @@ -474,11 +474,13 @@ fn evaluate _in-ah: (addr handle cell), _out-ah: (addr handle cell), env-h: (han debug-print "B", 4/fg, 0xc5/bg=blue-bg # a trip wire in case we're running without a trace (e.g. when loading the initial state from disk) { + compare trace, 0 + break-if-!= var left-out/eax: (addr cell) <- lookup *left-out-ah compare left-out, 0 { break-if-!= - abort "unknown variable" + abort "error in eval-list" } } # |