summaryrefslogtreecommitdiff
path: root/sys/src/cmd/6c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-04-25 10:43:39 -0700
committerOri Bernstein <ori@eigenstate.org>2020-04-25 10:43:39 -0700
commit2de164c51dc3330859c160b80440e1363fb5b566 (patch)
tree1b29adb88299efdcca44ede060ec5d4756f4542a /sys/src/cmd/6c
parent5d7e9bee3ce75cce5727c0283a192b344800cc07 (diff)
fix typos in time calculation
the results of the time calculation were garbled -- and apparently negative on my system when testing, so the test passed when it shouldn't have.
Diffstat (limited to 'sys/src/cmd/6c')
-rw-r--r--sys/src/cmd/6c/txt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/6c/txt.c b/sys/src/cmd/6c/txt.c
index 1f4662b69..5bf3314cc 100644
--- a/sys/src/cmd/6c/txt.c
+++ b/sys/src/cmd/6c/txt.c
@@ -363,6 +363,7 @@ regalloc(Node *n, Node *tn, Node *o)
if(reg[i] == 0 && !resvreg[i])
goto out;
diag(tn, "out of float registers");
+ abort();
goto out;
}
diag(tn, "unknown type in regalloc: %T", tn->type);