Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r76019:d2efcb5e05aa
Date: 2015-02-20 19:23 +0100
http://bitbucket.org/pypy/pypy/changeset/d2efcb5e05aa/

Log:    more fixes

diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py
--- a/rpython/translator/c/genc.py
+++ b/rpython/translator/c/genc.py
@@ -820,9 +820,6 @@
     if bk.thread_local_fields:
         print >> f, '\tRPython_ThreadLocals_ProgramInit();'
 
-    for line in database.gcpolicy.gc_startup_code():
-        print >> f,"\t" + line
-
     # put float infinities in global constants, we should not have so many of 
them for now to make
     # a table+loop preferable
     for dest, value in database.late_initializations:
diff --git a/rpython/translator/c/src/mem.c b/rpython/translator/c/src/mem.c
--- a/rpython/translator/c/src/mem.c
+++ b/rpython/translator/c/src/mem.c
@@ -6,7 +6,6 @@
 
 #ifdef RPY_STM
 # include "src/mem.h"
-# include "src/allocator.h"
 # ifdef RPY_ASSERT
 int try_pypy_debug_alloc_stop(void *);
 # else
@@ -21,7 +20,7 @@
        free the object in the normal way.  Finally we increment the
        free counter to keep it in sync. */
     try_pypy_debug_alloc_stop(ptr);
-    PyObject_Free(ptr);
+    free(ptr);
     COUNT_FREE;
 }
 void _pypy_stm_op_free(void *ptr)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to