mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-17 16:44:00 +00:00
REGISTER is for floats. (#148)
According to `inc/version.h`, `REGISTER` is for floats which may or may not be able to be in registers due to the `FPTEST` macro implementation. We shouldn't be using it here for non-float data.
This commit is contained in:
parent
7f7952cbad
commit
3b1bdd225f
@ -91,7 +91,7 @@ LispPTR fmemb(register LispPTR item, register LispPTR list) {
|
||||
}
|
||||
|
||||
LispPTR N_OP_listget(register LispPTR plist, register LispPTR tos) {
|
||||
REGISTER struct cadr_cell cadrobj;
|
||||
struct cadr_cell cadrobj;
|
||||
|
||||
while (plist != NIL_PTR) {
|
||||
S_N_CHECKANDCADR2(plist, cadrobj, tos, plist);
|
||||
|
||||
@ -143,7 +143,7 @@ N_OP_assoc
|
||||
*******************************************/
|
||||
|
||||
LispPTR N_OP_assoc(register LispPTR key, register LispPTR list) {
|
||||
REGISTER struct cadr_cell cadr1;
|
||||
struct cadr_cell cadr1;
|
||||
register LispPTR cdr; /* address of (cdr A-list); Lisp address */
|
||||
|
||||
if (list == NIL_PTR) { return (NIL_PTR); }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user