-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move GC_approx_sp() implementation to a macro
(refactoring) * include/private/gc_priv.h (GC_approx_sp): Document. * include/private/gc_priv.h (APPROX_SP): New macro (move code from GC_approx_sp replacing sp to *sp_ptr). * mark_rts.c (GC_approx_sp): Use APPROX_SP(). * tools/setjmp_t.c (nested_sp, main): Likewise. * tools/setjmp_t.c (nested_sp, main): Change type of sp local variable from word to ptr_t.
- Loading branch information
Showing
3 changed files
with
31 additions
and
27 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