aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Colascione2015-03-03 09:59:23 -0800
committerDaniel Colascione2015-03-03 10:08:08 -0800
commit15ddf7a6f211545b34f22bbab286df91e391b5aa (patch)
tree813965a0cc281143044739d945f4ebc282c1e7b5 /src
parenta6fb5e2de55b936761274f5d0895de178640ec68 (diff)
downloademacs-15ddf7a6f211545b34f22bbab286df91e391b5aa.tar.gz
emacs-15ddf7a6f211545b34f22bbab286df91e391b5aa.zip
Rename gc-precise-p to gc-precise
2015-03-03 Daniel Colascione <dancol@dancol.org> * alloc.c (syms_of_alloc): Rename `gc-precise-p' to `gc-precise'. 2015-03-03 Daniel Colascione <dancol@dancol.org> * automated/finalizer-tests.el (finalizer-basic) (finalizer-circular-reference, finalizer-cross-reference) (finalizer-error): Rename `gc-precise-p' to `gc-precise'. * automated/generator-tests.el (cps-test-iter-close-finalizer): Rename `gc-precise-p' to `gc-precise'.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/alloc.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 185769fd33f..0bc5d650caf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12015-03-03 Daniel Colascione <dancol@dancol.org>
2
3 * alloc.c (syms_of_alloc): Rename `gc-precise-p' to `gc-precise'.
4
12015-03-03 Paul Eggert <eggert@cs.ucla.edu> 52015-03-03 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 * alloc.c (run_finalizers): Omit unused local. 7 * alloc.c (run_finalizers): Omit unused local.
diff --git a/src/alloc.c b/src/alloc.c
index ff93bf57c26..022782504f1 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -7266,7 +7266,7 @@ init_alloc_once (void)
7266{ 7266{
7267 /* Even though Qt's contents are not set up, its address is known. */ 7267 /* Even though Qt's contents are not set up, its address is known. */
7268 Vpurify_flag = Qt; 7268 Vpurify_flag = Qt;
7269 gc_precise_p = (GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE); 7269 gc_precise = (GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE);
7270 7270
7271 purebeg = PUREBEG; 7271 purebeg = PUREBEG;
7272 pure_size = PURESIZE; 7272 pure_size = PURESIZE;
@@ -7410,9 +7410,10 @@ The time is in seconds as a floating point value. */);
7410 DEFVAR_INT ("gcs-done", gcs_done, 7410 DEFVAR_INT ("gcs-done", gcs_done,
7411 doc: /* Accumulated number of garbage collections done. */); 7411 doc: /* Accumulated number of garbage collections done. */);
7412 7412
7413 DEFVAR_BOOL ("gc-precise-p", gc_precise_p, 7413 DEFVAR_BOOL ("gc-precise", gc_precise,
7414 doc: /* Non-nil means GC stack marking is precise. 7414 doc: /* Non-nil means GC stack marking is precise.
7415Useful mainly for automated GC tests. Build time constant.*/); 7415Useful mainly for automated GC tests. Build time constant.*/);
7416 XSYMBOL (intern_c_string ("gc-precise"))->constant = 1;
7416 7417
7417 defsubr (&Scons); 7418 defsubr (&Scons);
7418 defsubr (&Slist); 7419 defsubr (&Slist);