-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change type of 1st argument of LOAD_WORD_OR_CONTINUE() from word to p…
…tr_t (refactoring) Issue #627 (bdwgc). * backgraph.c (add_back_edges): Rename current local variable to q. * mark.c (GC_mark_from): Likewise. * typd_mlc.c (GC_typed_mark_proc): Likewise. * backgraph.c (add_back_edges): Change type of q local variable from word to ptr_t. * finalize.c (GC_ignore_self_finalize_mark_proc): Likewise. * mark.c (GC_mark_from): Likewise. * mark.c [WRAP_MARK_SOME && PARALLEL_MARK] (GC_push_conditional_eager): Likewise. * typd_mlc.c (GC_typed_mark_proc): Likewise. * include/private/gc_pmark.h (GC_mark_and_push_stack): Do not case p argument to ptr_t. * include/private/gc_pmark.h (GC_PUSH_ONE_STACK, GC_PUSH_ONE_HEAP): Cast p argument to word. * include/private/gc_pmark.h [NEED_FIXUP_POINTER] (GC_PUSH_ONE_STACK): Change type of pp local variable from word to ptr_t. * include/private/gc_priv.h [E2K && __ptr64__] (LOAD_TAGGED_VALUE): Change type of val local variable from word to ptr_t. * include/private/gc_priv.h [!E2K] (LOAD_TAGGED_VALUE): Cast p argument to ptr_t* instead of word*. * include/private/gcconfig.h [!FIXUP_POINTER && (DYNAMIC_POINTER_MASK || POINTER_MASK)] (FIXUP_POINTER): Expect p argument is of ptr_t type (instead of word); add comment. * mark.c [!SMALL_CONFIG && !USE_PTR_HWTAG] (GC_mark_from): Change type of deferred local variable from word to ptr_t. * mark.c [AMIGA || MACOS || GC_DARWIN_THREADS] (GC_push_one): Cast p argument to ptr_t. * mark.c [GC_WIN32_THREADS] (GC_push_many_regs): Cast regs[i] to ptr_t. * mark.c [!SMALL_CONFIG && !USE_MARK_BYTES && !MARK_BIT_PER_OBJ] (PUSH_GRANULE): Change type of qcontents from word to ptr_t. * mark.c [USE_PUSH_MARKED_ACCELERATORS] (GC_push_marked1): Change type of p, plim, q from word* to ptr_t*; cast h to ptr_t instead of word; adjust code indentation (and reformat comment). * mark.c [USE_PUSH_MARKED_ACCELERATORS && !UNALIGNED_PTRS] (GC_push_marked2): Likewise. * mark.c [USE_PUSH_MARKED_ACCELERATORS && !UNALIGNED_PTRS && GC_GRANULE_WORDS<4] (GC_push_marked4): Likewise.
- Loading branch information
Showing
7 changed files
with
155 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.