summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-02-19 20:11:00 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-02-19 20:11:00 -0800
commitc6fe7be22f1c77a6cbacd34e49ec9bf718d75553 (patch)
treee7157287b1ede65fab819388ac7fd4fed6f4ad1c /txr.c
parent458cb61cedcd21d2eea0c8588a2050af2b678dac (diff)
downloadtxr-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