diff options
| author | Daniel Colascione | 2014-04-02 17:18:08 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2014-04-02 17:18:08 -0700 |
| commit | 01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7 (patch) | |
| tree | 59ca8d7de3510d720153f1cc2d368bd145f21f48 /src/data.c | |
| parent | 4fd68bf6cc1dce6c95001fbbac95cef32c86359d (diff) | |
| download | emacs-01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7.tar.gz emacs-01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7.zip | |
Add GC bug investigation code
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 5 |
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; |