diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-19 20:11:00 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-19 20:11:00 -0800 |
commit | c6fe7be22f1c77a6cbacd34e49ec9bf718d75553 (patch) | |
tree | e7157287b1ede65fab819388ac7fd4fed6f4ad1c /txr.c | |
parent | 458cb61cedcd21d2eea0c8588a2050af2b678dac (diff) | |
download | txr-c6fe7be22f1c77a6cbacd34e49ec9bf718d75553.tar.gz txr-c6fe7be22f1c77a6cbacd34e49ec9bf718d75553.tar.bz2 txr-c6fe7be22f1c77a6cbacd34e49ec9bf718d75553.zip |
pprof: generate much smaller expansion.
* eval.c (me_pprof): Instead of emitting open code which
destructures the output of pprof and prints a diagnostic,
let's do that inside a run-time support function called
sys:rt-pprof, so (pprof x) now expands to (rt:pprof (prof x)).
(rt_pprof): New function.
(eval_init): Register sys:rt-pprof intrinsic.
Diffstat (limited to 'txr.c')
0 files changed, 0 insertions, 0 deletions