summaryrefslogtreecommitdiffstats
path: root/protsym.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-06-19 23:25:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-06-19 23:27:48 -0700
commitbd7a10e8fd6fda00f5119db6d9a3bf8bffee1210 (patch)
treeea03ae6d487d38f173d5c34019f3504fe56dc48c /protsym.c
parent9cf992835c8a0f2e6c4ace07b67fea2acb762cc5 (diff)
downloadtxr-bd7a10e8fd6fda00f5119db6d9a3bf8bffee1210.tar.gz
txr-bd7a10e8fd6fda00f5119db6d9a3bf8bffee1210.tar.bz2
txr-bd7a10e8fd6fda00f5119db6d9a3bf8bffee1210.zip
ash: refactor in light of gc bug.
* arith.c (ash): Introduce smaller scopes and move variable initializations close to their use. The NUM case of argument a no longer falls through to the BGNUM case, and doesn't cons up a bignum object. Rather, a temporary mp_int is allocated, used and freed. The gc_hint added in the previous commit is now gone.
Diffstat (limited to 'protsym.c')
0 files changed, 0 insertions, 0 deletions