summaryrefslogtreecommitdiff
path: root/libguile/debug.c
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2001-11-25 15:21:07 +0000
committerMarius Vollmer <mvo@zagadka.de>2001-11-25 15:21:07 +0000
commit16d4699b6ba33685f1318636ffe4990c7db4fdc6 (patch)
treed0ef01a70571d77fb07e062e2f29344e33c29952 /libguile/debug.c
parentd3c0e81cc847b39537a2b2945d80de18bf8d5e89 (diff)
downloadguile-16d4699b6ba33685f1318636ffe4990c7db4fdc6.tar.gz
Replaced SCM_NEWCELL and SCM_NEWCELL2 with scm_alloc_cell and
scm_alloc_double_cell, respectively.
Diffstat (limited to 'libguile/debug.c')
-rw-r--r--libguile/debug.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libguile/debug.c b/libguile/debug.c
index 0f5373e5c..6b930711c 100644
--- a/libguile/debug.c
+++ b/libguile/debug.c
@@ -539,13 +539,7 @@ SCM_DEFINE (scm_debug_object_p, "debug-object?", 1, 0, 0,
SCM
scm_make_debugobj (scm_t_debug_frame *frame)
{
- register SCM z;
- SCM_NEWCELL (z);
- SCM_ENTER_A_SECTION;
- SCM_SET_DEBUGOBJ_FRAME (z, frame);
- SCM_SET_CELL_TYPE (z, scm_tc16_debugobj);
- SCM_EXIT_A_SECTION;
- return z;
+ return scm_alloc_cell (scm_tc16_debugobj, (scm_t_bits) frame);
}