aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorDaniel Colascione2014-04-02 17:18:08 -0700
committerDaniel Colascione2014-04-02 17:18:08 -0700
commit01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7 (patch)
tree59ca8d7de3510d720153f1cc2d368bd145f21f48 /src/data.c
parent4fd68bf6cc1dce6c95001fbbac95cef32c86359d (diff)
downloademacs-01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7.tar.gz
emacs-01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7.zip
Add GC bug investigation code
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c
index 4ef81f2474e..dd220987fd7 100644
--- a/src/data.c
+++ b/src/data.c
@@ -727,6 +727,11 @@ DEFUN ("fset", Ffset, Sfset, 2, 2, 0,
727 if (AUTOLOADP (function)) 727 if (AUTOLOADP (function))
728 Fput (symbol, Qautoload, XCDR (function)); 728 Fput (symbol, Qautoload, XCDR (function));
729 729
730 /* Convert to eassert or remove after GC bug is found. In the
731 meantime, check unconditionally, at a slight perf hit. */
732 if (valid_lisp_object_p (definition) < 1)
733 emacs_abort ();
734
730 set_symbol_function (symbol, definition); 735 set_symbol_function (symbol, definition);
731 736
732 return definition; 737 return definition;