[pypy-commit] pypy stmgc-c8: remove now-implemented dummies

Raemi noreply at buildbot.pypy.org
Wed Feb 25 11:53:26 CET 2015


Author: Remi Meier <remi.meier at gmail.com>
Branch: stmgc-c8
Changeset: r76120:687a216f86e7
Date: 2015-02-25 10:58 +0100
http://bitbucket.org/pypy/pypy/changeset/687a216f86e7/

Log:	remove now-implemented dummies

diff --git a/rpython/translator/stm/src_stm/stmgcintf.c b/rpython/translator/stm/src_stm/stmgcintf.c
--- a/rpython/translator/stm/src_stm/stmgcintf.c
+++ b/rpython/translator/stm/src_stm/stmgcintf.c
@@ -10,13 +10,6 @@
 __thread uintptr_t pypy_stm_nursery_low_fill_mark_saved;
 
 
-/* C8: not implemented properly yet: */
-void (*stmcb_light_finalizer)(object_t *o);
-void (*stmcb_finalizer)(object_t *o);
-/* C8: not implemented properly yet ^^^^^^^^^^^^^^^^^^ */
-
-
-
 extern Signed pypy_stmcb_size_rounded_up(void*);
 extern void pypy_stmcb_get_card_base_itemsize(void*, uintptr_t[]);
 extern void pypy_stmcb_trace(void*, void(*)(void*));
diff --git a/rpython/translator/stm/src_stm/stmgcintf.h b/rpython/translator/stm/src_stm/stmgcintf.h
--- a/rpython/translator/stm/src_stm/stmgcintf.h
+++ b/rpython/translator/stm/src_stm/stmgcintf.h
@@ -45,13 +45,7 @@
     uintptr_t odd_number;  /* marker odd number, or 0 if marker is missing */
     object_t *object;      /* marker object, or NULL if marker is missing */
 } stm_loc_marker_t;
-extern void (*stmcb_light_finalizer)(object_t *o);
-extern void (*stmcb_finalizer)(object_t *o);
-static inline object_t *stm_allocate_with_finalizer(ssize_t size_rounded_up) {
-    return stm_allocate(size_rounded_up);
-}
-static inline void stm_enable_light_finalizer(object_t *o) {};
-static inline int stm_set_timing_log(const char *profiling_file_name,
+static inline int stm_set_timing_log(const char *profiling_file_name, int fork_mode,
                        int expand_marker(stm_loc_marker_t *, char *, int)) {return 0;}
 /* C8: not implemented properly yet ^^^^^^^^^^^^^^^^^^ */
 


More information about the pypy-commit mailing list