summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-19 13:32:44 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:50 +0200
commitf290f196b01ddf5ecd055822c0dea4d625d91872 (patch)
treea825837489981c5b5a589bfd2453a6d20a7b7a69 /mark_rts.c
parentf9dc6d51977f86cc5651c95747714cf3ec3a4919 (diff)
2009-10-19 Ivan Maidanski <ivmai@mail.ru>
* alloc.c (GC_notify_full_gc): Use GC_INLINE for a tiny static function. * backgraph.c (pop_in_progress, GC_apply_to_each_object): Ditto. * mark_rts.c (add_roots_to_index): Ditto.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 8a55e37..a2d15f7 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -122,7 +122,7 @@ struct roots * GC_roots_present(ptr_t b)
}
/* Add the given root structure to the index. */
-static void add_roots_to_index(struct roots *p)
+GC_INLINE void add_roots_to_index(struct roots *p)
{
int h = rt_hash(p -> r_start);