about summary refs log tree commit diff stats
path: root/subx/055trace.subx
Commit message (Collapse)AuthorAgeFilesLines
* 4888Kartik Agaram2018-12-291-10/+10
| | | | We only can't use rm32=5 when mod=0. Totally fine when it's mod=1.
* 4886Kartik Agaram2018-12-281-4/+4
|
* 4881Kartik Agaram2018-12-281-1/+1
|
* 4847Kartik Agaram2018-12-061-2/+2
|
* 4839Kartik Agaram2018-12-041-2/+2
|
* 4832Kartik Agaram2018-12-041-0/+1
| | | | | | Let's start adding ':end' labels in all functions, just because it helps us visualize where function calls end in traces, thanks to the '--map' commandline argument.
* 4818Kartik Agaram2018-12-021-10/+10
|
* 4808 - clean up comments in all subx filesKartik Agaram2018-11-301-18/+16
|
* 4802Kartik Agaram2018-11-301-59/+59
| | | | | | | | | | | | | | | | Some automated commenting cleanup. Still needs more careful manual scanning. sed -i 's/^# 1-3/# . 1-3/' *.subx */*.subx sed -i 's/^# op/# . op/' *.subx */*.subx sed -i 's/# vim/# . . vim/' *.subx */*.subx sed -i 's/^ # push args/ # . . push args/' *.subx */*.subx sed -i 's/^ # discard args/ # . . discard args/' *.subx */*.subx sed -i 's/^ # call/ # . . call/' *.subx */*.subx sed -i 's/^ # prolog/ # . prolog/' *.subx */*.subx sed -i 's/^ # epilog/ # . epilog/' *.subx */*.subx sed -i 's/^ # save registers/ # . save registers/' *.subx */*.subx sed -i 's/^ # restore registers/ # . restore registers/' *.subx */*.subx sed -i 's/ operand / register /' *.subx */*.subx
* 4801Kartik Agaram2018-11-301-238/+238
| | | | Reindent all SubX code to make some room for the new comment style.
* 4780Kartik Agaram2018-11-261-1/+0
|
* 4767Kartik Agaram2018-11-241-16/+16
|
* 4759Kartik Agaram2018-11-201-1/+1
|
* 4756Kartik Agaram2018-11-191-1/+1
| | | | | Long-standing and long-copied typo has been messing with our exit status on test failures.
* 4752Kartik Agaram2018-11-181-24/+24
|
* 4742Kartik Agaram2018-11-051-1/+2
|
* 4741Kartik Agaram2018-10-301-16/+46
| | | | Extract a helper that we'll need for 'read'.
* 4740Kartik Agaram2018-10-301-53/+57
|
* 4739Kartik Agaram2018-10-301-3/+3
|
* 4738Kartik Agaram2018-10-301-10/+11
|
* 4731Kartik Agaram2018-10-281-2/+2
|
* 4711Kartik Agaram2018-10-171-85/+95
| | | | | | | Extract a helper for appending strings to raw buffers. I'd been resisting this idea, but it actually turns out to be a pretty clean abstraction in the end.
* 4708Kartik Agaram2018-10-171-2/+2
|
* 4706Kartik Agaram2018-10-161-2/+2
|
* 4705Kartik Agaram2018-10-161-3/+3
|
* 4704Kartik Agaram2018-10-161-29/+41
|
* 4698Kartik Agaram2018-10-141-1/+1
|
* 4691Kartik Agaram2018-10-131-21/+21
| | | | All tests now once again run the same natively and on VM.
* 4684Kartik Agaram2018-10-111-1/+1
| | | | | | | | | | Turns out the tests for 'trace' have been broken in native mode since the original commit (4674). Dangers of running my tests on Darwin, where I can't run them natively. The test failures didn't get flagged on CI because I'd forgotten to update the exit code of the factorial app in commit 4664. At least that's fixed in this commit.
* 4683Kartik Agaram2018-10-101-1/+1
|
* 4681Kartik Agaram2018-10-101-1/+33
|
* 4680Kartik Agaram2018-10-101-2/+89
| | | | | | | | Maps have definitely helped with debugging. Even having just the top of the call stack is very helpful. We're soon gonna need setup/teardown for tests. I'm not sure how compiling run-tests will work then.
* 4676Kartik Agaram2018-10-081-32/+2
| | | | | | On second thoughts, let's not use Mu's "null is real hardware" convention for traces. There's no real difference between a real and fake trace stream, so we'll just always explicitly pass in *Trace-stream in production code.
* 4675Kartik Agaram2018-10-081-2/+1
|
* 4674Kartik Agaram2018-10-081-0/+214
subx: append to trace