Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r66839:e64ff7db5200
Date: 2013-09-07 18:39 +0200
http://bitbucket.org/pypy/pypy/changeset/e64ff7db5200/

Log:    kill dead code

diff --git a/rpython/translator/c/src/mem.h b/rpython/translator/c/src/mem.h
--- a/rpython/translator/c/src/mem.h
+++ b/rpython/translator/c/src/mem.h
@@ -8,20 +8,6 @@
 #define OP_STACK_CURRENT(r)  r = (Signed)&r
 
 
-#define RAW_MALLOC_ZERO_FILLED 0
-
-#if RAW_MALLOC_ZERO_FILLED
-
-#define OP_RAW_MALLOC(size, r, restype)  {                             \
-       r = (restype) PyObject_Malloc(size);                            \
-       if (r != NULL) {                                                \
-           memset((void*)r, 0, size);                                  \
-           COUNT_MALLOC;                                               \
-       }                                                               \
-    }
-
-#else
-
 #define OP_RAW_MALLOC(size, r, restype)  {                             \
        r = (restype) PyObject_Malloc(size);                            \
        if (r != NULL) {                                                \
@@ -29,8 +15,6 @@
        }                                                               \
     }
 
-#endif
-
 #define OP_RAW_FREE(p, r) PyObject_Free(p); COUNT_FREE;
 
 #define OP_RAW_MEMCLEAR(p, size, r) memset((void*)p, 0, size)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to