diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-01-17 17:00:44 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-01-17 17:00:44 -0800 |
commit | 4b62edd8a63cfdde37b0537c9be1e91062bb2892 (patch) | |
tree | aa714446d5890b25348c54c6f5fe9a7277165f28 /counters.mu | |
parent | 7990aea904686272fb50bb81cea8f60716901b3a (diff) | |
download | mu-4b62edd8a63cfdde37b0537c9be1e91062bb2892.tar.gz |
578 - switch to non-polymorphic 'print' functions
Also clean up various prints from last few commits. As a convention, for debugging we always print directly to host.
Diffstat (limited to 'counters.mu')
-rw-r--r-- | counters.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/counters.mu b/counters.mu index 243d22d5..0b7a4882 100644 --- a/counters.mu +++ b/counters.mu @@ -24,9 +24,9 @@ (ares:integer <- increment-counter a:space-address 1:literal) ; check results (print-primitive-to-host (("Contents of counters a: " literal))) - (print-primitive nil:literal/terminal ares:integer) + (print-integer nil:literal/terminal ares:integer) (print-primitive-to-host ((" b: " literal))) - (print-primitive nil:literal/terminal bres:integer) + (print-integer nil:literal/terminal bres:integer) (print-primitive-to-host (("\n" literal))) ]) |