[PATCH] Fix potential invalid argument error in `##sys#decompose-import'

2020-05-02 Thread Evan Hanson
This fixes a small bug in `##sys#decompose-import' where "spec" (which is a list) is passed to the `warn' procedure rather than "name" (which is a symbol, as expected). This leads to an invalid argument error arising from `symbol->string', e.g. $ echo '(import (only (rename scheme (car first))

[PATCH] Mark identifiers used to collect profiling info as `bound-to-procedure'

2020-05-02 Thread Evan Hanson
Calls to `##sys#register-profile-info' and `set-profile-info-vector!` are inserted into the program when profiling is enabled, so they should be marked as procedures so the resulting call nodes are marked as safe, just like we do for the `##sys#profile-entry' and `exit' procedures. ---