fixed gc bug in 64-bit mode along with another 64-bit bug in the

assembler when addressing using special %eax/%rax instructions.
This commit is contained in:
Abdulaziz Ghuloum
2008-07-21 22:07:31 -07:00
parent 358eee03ee
commit acc9940379
11 changed files with 42 additions and 45 deletions
+2 -2
View File
@@ -203,9 +203,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --foreign src/Makefile
$(AUTOMAKE) --gnu src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
+2 -2
View File
@@ -191,8 +191,8 @@ gc_alloc_new_large_ptr(int size, gc_t* gc){
static inline void
enqueue_large_ptr(ikptr mem, int size, gc_t* gc){
int i = page_index(mem);
int j = page_index(mem+size-1);
long int i = page_index(mem);
long int j = page_index(mem+size-1);
while(i<=j){
gc->segment_vector[i] =
pointers_mt | large_object_tag | gc->collect_gen_tag;