Mercurial > hg > xemacs-beta
diff src/bytecode.c @ 388:aabb7f5b1c81 r21-2-9
Import from CVS: tag r21-2-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:09:42 +0200 |
parents | 064ab7fed2e0 |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/bytecode.c Mon Aug 13 11:08:51 2007 +0200 +++ b/src/bytecode.c Mon Aug 13 11:09:42 2007 +0200 @@ -529,7 +529,11 @@ f->stack_depth, XVECTOR_DATA (f->constants)); - UNBIND_TO_GCPRO_VARIABLES_ONLY (speccount, value); + /* The attempt to optimize this by only unbinding variables failed + because using buffer-local variables as function parameters + leads to specpdl_ptr->func != 0 */ + /* UNBIND_TO_GCPRO_VARIABLES_ONLY (speccount, value); */ + UNBIND_TO_GCPRO (speccount, value); return value; }