summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-12-04 11:20:18 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:52 +0200
commit16780405c899f01119bc45167122b4242f6b34fb (patch)
treef49a2c40addb3337656c8c48381bcdc5f6957558 /mark_rts.c
parentf7ec6d9c149a1b161a4181429f6f3314c0468815 (diff)
2009-12-04 Ivan Maidanski <ivmai@mail.ru>
* mark_rts.c (GC_approx_sp): Add a comment (for GCC).
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mark_rts.c b/mark_rts.c
index f53393e..8afefdc 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -365,6 +365,8 @@ GC_INNER ptr_t GC_approx_sp(void)
/* later accesses might cause the kernel to think we're */
/* doing something wrong. */
return((ptr_t)sp);
+ /* GNU C: alternatively, we may return the value of */
+ /*__builtin_frame_address(0). */
}
/*