projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.20.26:
[sbcl.git]
/
src
/
runtime
/
parse.c
diff --git
a/src/runtime/parse.c
b/src/runtime/parse.c
index
61d8a24
..
fd89930
100644
(file)
--- a/
src/runtime/parse.c
+++ b/
src/runtime/parse.c
@@
-15,8
+15,8
@@
#include <ctype.h>
#include <signal.h>
#include <ctype.h>
#include <signal.h>
-#include "runtime.h"
#include "sbcl.h"
#include "sbcl.h"
+#include "runtime.h"
#if defined(LISP_FEATURE_SB_LDB)
#if defined(LISP_FEATURE_SB_LDB)
@@
-258,7
+258,7
@@
static boolean lookup_symbol(char *name, lispobj *result)
/* Search dynamic space. */
headerptr = (lispobj *)DYNAMIC_SPACE_START;
/* Search dynamic space. */
headerptr = (lispobj *)DYNAMIC_SPACE_START;
-#if !defined(__i386__)
+#if !(defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64))
count =
dynamic_space_free_pointer -
(lispobj *)DYNAMIC_SPACE_START;
count =
dynamic_space_free_pointer -
(lispobj *)DYNAMIC_SPACE_START;
@@
-295,7
+295,7
@@
parse_regnum(char *s)
for (i = 0; i < NREGS ; i++)
if (strcasecmp(s + 1, lisp_register_names[i]) == 0)
for (i = 0; i < NREGS ; i++)
if (strcasecmp(s + 1, lisp_register_names[i]) == 0)
-#ifdef __i386__
+#ifdef LISP_FEATURE_X86
return i*2;
#else
return i;
return i*2;
#else
return i;