[前][次][番号順一覧][スレッド一覧]

ruby-changes:24576

From: nari <ko1@a...>
Date: Sun, 5 Aug 2012 21:14:54 +0900 (JST)
Subject: [ruby-changes:24576] nari:r36627 (trunk): * gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.

nari	2012-08-05 21:12:45 +0900 (Sun, 05 Aug 2012)

  New Revision: 36627

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36627

  Log:
    * gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.
      remove unused declarations.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36626)
+++ ChangeLog	(revision 36627)
@@ -1,3 +1,8 @@
+Sun Aug  5 21:10:36 2012  Narihiro Nakamura  <authornari@g...>
+
+	* gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.
+	  remove unused declarations.
+
 Sun Aug  5 19:31:57 2012  Narihiro Nakamura  <authornari@g...>
 
 	* gc.c: just move functions and so on. I don't touch any internal
Index: gc.c
===================================================================
--- gc.c	(revision 36626)
+++ gc.c	(revision 36627)
@@ -346,6 +346,7 @@
 static int garbage_collect(rb_objspace_t *);
 static int gc_lazy_sweep(rb_objspace_t *);
 static void mark_tbl(rb_objspace_t *, st_table *, int);
+static void rest_sweep(rb_objspace_t *);
 
 static double getrusage_time(void);
 static inline void gc_prof_timer_start(rb_objspace_t *);
@@ -377,9 +378,6 @@
 #endif
 
 #if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
-static void gc_sweep(rb_objspace_t *);
-static void slot_sweep(rb_objspace_t *, struct heaps_slot *);
-static void rest_sweep(rb_objspace_t *);
 static void aligned_free(void *);
 
 void

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]