|
From: | Paul Eggert |
Subject: | Re: Using 'register' and ^L |
Date: | Tue, 09 Sep 2014 22:30:20 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Dmitry Antipov wrote:
1) Is there a reason to use explicit 'register' variables nowadays? This encumbers sources with no measurable benefits; moreover, some GC tracing/debugging techniques assumes that you can take an address of any Lisp_Object, which is effectively blocked by using 'register'.
There's no reason to use 'register' nowadays in the Emacs source code. We haven't bothered to systematically remove 'register' because it's been treated like tabs versus spaces, i.e., not worth changing. But if instances of 'register' are causing trouble please just remove them.
[Prev in Thread] | Current Thread | [Next in Thread] |