com php-src: Removed unused functions: Zend/zend_compile.h Zend/zend_opcode.c

From: Date: Wed, 26 Aug 2015 15:29:23 +0000
Subject: com php-src: Removed unused functions: Zend/zend_compile.h Zend/zend_opcode.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88772@lists.php.net to get a copy of this message
Commit: 942747cc3ec4d63a5aaaf96f0fffcbb9fedfa192 Author: Dmitry Stogov <dmitry@zend.com> Wed, 26 Aug 2015 18:29:23 +0300 Parents: 95073c8429879c8eba6c6c5f6481d1781f3283dd Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=942747cc3ec4d63a5aaaf96f0fffcbb9fedfa192 Log: Removed unused functions Changed paths: M Zend/zend_compile.h M Zend/zend_opcode.c Diff: diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index e3c2b00..dae8d17 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -753,8 +753,6 @@ ZEND_API int zend_unmangle_property_name_ex(const zend_string *name, const char zend_op *get_next_op(zend_op_array *op_array); void init_op(zend_op *op); int get_next_op_number(zend_op_array *op_array); -int print_class(zend_class_entry *class_entry); -void print_op_array(zend_op_array *op_array, int optimizations); ZEND_API int pass_two(zend_op_array *op_array); zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array); ZEND_API zend_bool zend_is_compiling(void); diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index 66ad24e..062892a 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -696,19 +696,6 @@ ZEND_API int pass_two(zend_op_array *op_array) return 0; } -int pass_two_wrapper(zval *el) -{ - return pass_two((zend_op_array *) Z_PTR_P(el)); -} - -int print_class(zend_class_entry *class_entry) -{ - printf("Class %s:\n", ZSTR_VAL(class_entry->name)); - zend_hash_apply(&class_entry->function_table, pass_two_wrapper); - printf("End of class %s.\n\n", ZSTR_VAL(class_entry->name)); - return 0; -} - ZEND_API unary_op_type get_unary_op(int opcode) { switch (opcode) {

« previous php.cvs (#88772) next »