]> granicus.if.org Git - php/commitdiff
Removed unused functions
authorDmitry Stogov <dmitry@zend.com>
Wed, 26 Aug 2015 15:29:23 +0000 (18:29 +0300)
committerDmitry Stogov <dmitry@zend.com>
Wed, 26 Aug 2015 15:29:23 +0000 (18:29 +0300)
Zend/zend_compile.h
Zend/zend_opcode.c

index e3c2b00ea8fef381ce89b97eb8278bceb952e2ad..dae8d173a0a1b0e90c8cca61a78d5149b71f2fc7 100644 (file)
@@ -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);
index 66ad24e98f5d1a4140b4982b9b5f40aa3642e932..062892a06b7c259a1457299a9467009de91476c2 100644 (file)
@@ -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) {