Skip to content

Commit 942747c

Browse files
committed
Removed unused functions
1 parent 95073c8 commit 942747c

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

Zend/zend_compile.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,6 @@ ZEND_API int zend_unmangle_property_name_ex(const zend_string *name, const char
753753
zend_op *get_next_op(zend_op_array *op_array);
754754
void init_op(zend_op *op);
755755
int get_next_op_number(zend_op_array *op_array);
756-
int print_class(zend_class_entry *class_entry);
757-
void print_op_array(zend_op_array *op_array, int optimizations);
758756
ZEND_API int pass_two(zend_op_array *op_array);
759757
zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array);
760758
ZEND_API zend_bool zend_is_compiling(void);

Zend/zend_opcode.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -696,19 +696,6 @@ ZEND_API int pass_two(zend_op_array *op_array)
696696
return 0;
697697
}
698698

699-
int pass_two_wrapper(zval *el)
700-
{
701-
return pass_two((zend_op_array *) Z_PTR_P(el));
702-
}
703-
704-
int print_class(zend_class_entry *class_entry)
705-
{
706-
printf("Class %s:\n", ZSTR_VAL(class_entry->name));
707-
zend_hash_apply(&class_entry->function_table, pass_two_wrapper);
708-
printf("End of class %s.\n\n", ZSTR_VAL(class_entry->name));
709-
return 0;
710-
}
711-
712699
ZEND_API unary_op_type get_unary_op(int opcode)
713700
{
714701
switch (opcode) {

0 commit comments

Comments
 (0)