[gc2] x86_64 fix
svn: r12310
This commit is contained in:
parent
49fa1ab8ed
commit
851ef83218
|
@ -249,7 +249,7 @@ inline static void pagemap_set(PageMap page_maps1, void *p, mpage *value) {
|
|||
|
||||
pos = PAGEMAP64_LEVEL1_BITS(p);
|
||||
page_maps2 = page_maps1[pos];
|
||||
if (!page_maps) {
|
||||
if (!page_maps2) {
|
||||
page_maps2 = (mpage ***)calloc(PAGEMAP64_LEVEL2_SIZE, sizeof(mpage **));
|
||||
page_maps1[pos] = page_maps2;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,14 @@
|
|||
# define inline _inline
|
||||
#endif
|
||||
|
||||
#include "../mzconfig.h"
|
||||
|
||||
#ifdef SIZEOF_LONG
|
||||
# if SIZEOF_LONG == 8
|
||||
# define SIXTY_FOUR_BIT_INTEGERS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(sparc) || defined(__sparc) || defined(__sparc__)
|
||||
/* Required for `double' operations: */
|
||||
# define GC_ALIGN_EIGHT
|
||||
|
|
Loading…
Reference in New Issue
Block a user