summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-04-16 12:32:56 +0300
committerDmitry Stogov <dmitry@zend.com>2015-04-16 12:32:56 +0300
commit5275e5560bb186bc3950a0dbf15fe0e54ee4c6ec (patch)
tree03d931e6933e884d7594f9b958a4cc7b078cd05a /Zend/zend_alloc.c
parenta759967dd1c09f8553bd5dedc82673fec15acb80 (diff)
downloadphp-git-5275e5560bb186bc3950a0dbf15fe0e54ee4c6ec.tar.gz
Changed zend_smart_str allocation granularity to do the better job together with Zend MM and avoid useless calls to erealloc().
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 6701ca4902..16fd42e80f 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -287,16 +287,6 @@ struct _zend_mm_bin {
char bytes[ZEND_MM_PAGE_SIZE * 8];
};
-#if ZEND_DEBUG
-typedef struct _zend_mm_debug_info {
- size_t size;
- const char *filename;
- const char *orig_filename;
- uint lineno;
- uint orig_lineno;
-} zend_mm_debug_info;
-#endif
-
struct _zend_mm_free_slot {
zend_mm_free_slot *next_free_slot;
};