Author: Remi Meier <[email protected]>
Branch: stmgc-c8
Changeset: r76194:19f6c9fde7a6
Date: 2015-02-28 09:32 +0100
http://bitbucket.org/pypy/pypy/changeset/19f6c9fde7a6/
Log: remove dummy implementations
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,27 +10,6 @@
__thread uintptr_t pypy_stm_nursery_low_fill_mark_saved;
-/* C8: not implemented properly yet: */
-char _stm_write_slowpath_card_extra(object_t *obj)
-{
- /* the PyPy JIT calls this function directly if it finds that an
- array doesn't have the GCFLAG_CARDS_SET */
- stm_write(obj);
- return 0;
-}
-
-long _stm_write_slowpath_card_extra_base(void)
-{
- /* for the PyPy JIT: _stm_write_slowpath_card_extra_base[obj >> 4]
- is the byte that must be set to CARD_MARKED. The logic below
- does the same, but more explicitly. */
- /* result should only appear in JIT-paths that are never executed
- because the above func returns false */
- return 42;
-}
-/* C8: not implemented properly yet ^^^^^^^^^^^^^^^^^^ */
-
-
extern Signed pypy_stmcb_size_rounded_up(void*);
extern void pypy_stmcb_get_card_base_itemsize(void*, uintptr_t[]);
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
@@ -42,10 +42,6 @@
/* C8: not implemented properly yet: */
extern void stmcb_commit_soon(void);
-#define _STM_CARD_SIZE 32 /* must be >= 32 */
-#define _STM_CARD_MARKED 100
-char _stm_write_slowpath_card_extra(object_t *obj);
-long _stm_write_slowpath_card_extra_base(void);
typedef struct {
stm_thread_local_t *tl;
char *segment_base; /* base to interpret the 'object' below */
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit