From 69ab9f854e5ad9a9606bab3f45eabe001ef841cb Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 22 Feb 2003 22:15:31 +0000 Subject: [PATCH] (Fgarbage_collect): Don't use XSETFLOAT. --- src/alloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/alloc.c b/src/alloc.c index 20240136526..d703d3d99b2 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -4381,9 +4381,9 @@ Garbage collection happens automatically if you cons more than EMACS_GET_TIME (t2); EMACS_SUB_TIME (t3, t2, t1); if (FLOATP (Vgc_elapsed)) - XSETFLOAT (Vgc_elapsed, make_float (XFLOAT_DATA (Vgc_elapsed) + - EMACS_SECS (t3) + - EMACS_USECS (t3) * 1.0e-6)); + Vgc_elapsed = make_float (XFLOAT_DATA (Vgc_elapsed) + + EMACS_SECS (t3) + + EMACS_USECS (t3) * 1.0e-6); gcs_done++; return Flist (sizeof total / sizeof *total, total); -- 2.11.4.GIT