-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assume argument of GC_set_fl_marks is non-null
(refactoring) * alloc.c (GC_set_fl_marks): Remove comment; assume the argument is not null (add assertion); use "ifdef MARK_BIT_PER_OBJ" instead of IF_PER_OBJ(). * alloc.c (GC_set_fl_marks, GC_clear_fl_marks): Use EXPECT(FALSE) for h!=last_h. * alloc.c (GC_clear_fl_marks): Refine comment. * alloc.c (GC_finish_collection): Move size and q local variables to the nested scope. * include/private/gc_priv.h (IF_PER_OBJ): Remove. * include/private/gc_priv.h (GC_set_fl_marks): Remove argument name.
- Loading branch information
Showing
2 changed files
with
38 additions
and
33 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