com php-src: Remove unused fields: ext/opcache/Optimizer/zend _call_graph.h ext/opcache/Optimizer/zend_dump.c
| From: | Dmitry Stogov | Date: | Mon, 27 Jul 2020 14:31:02 +0000 |
| Subject: | com php-src: Remove unused fields: ext/opcache/Optimizer/zend _call_graph.h ext/opcache/Optimizer/zend_dump.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112385@lists.php.net to get a copy of this message | ||
Commit: b23188962e97a85bffd34bf40db340a2284d7708
Author: Dmitry Stogov <dmitry@zend.com> Mon, 27 Jul 2020 17:31:02 +0300
Parents: 04c3e3182a752d756a7d32973a52523d8ce4194d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b23188962e97a85bffd34bf40db340a2284d7708
Log:
Remove unused fields
Changed paths:
M ext/opcache/Optimizer/zend_call_graph.h
M ext/opcache/Optimizer/zend_dump.c
Diff:
diff --git a/ext/opcache/Optimizer/zend_call_graph.h b/ext/opcache/Optimizer/zend_call_graph.h
index f910833aaf..c31d8cef03 100644
--- a/ext/opcache/Optimizer/zend_call_graph.h
+++ b/ext/opcache/Optimizer/zend_call_graph.h
@@ -54,12 +54,9 @@ struct _zend_func_info {
zend_call_info *callee_info; /* which functions are called from this one */
zend_call_info **call_map; /* Call info associated with init/call/send opnum */
int num_args; /* (-1 - unknown) */
+ int return_value_used; /* -1 unknown, 0 no, 1 yes */
zend_recv_arg_info *arg_info;
zend_ssa_var_info return_info;
- zend_func_info *clone;
- int clone_num;
- int return_value_used; /* -1 unknown, 0 no, 1 yes */
- void *codegen_data;
};
typedef struct _zend_call_graph {
diff --git a/ext/opcache/Optimizer/zend_dump.c b/ext/opcache/Optimizer/zend_dump.c
index ce23c4d473..d22eb55908 100644
--- a/ext/opcache/Optimizer/zend_dump.c
+++ b/ext/opcache/Optimizer/zend_dump.c
@@ -882,9 +882,6 @@ void zend_dump_op_array_name(const zend_op_array *op_array)
} else {
fprintf(stderr, "%s", "$_main");
}
- if (func_info && func_info->clone_num > 0) {
- fprintf(stderr, "_@_clone_%d", func_info->clone_num);
- }
}
void zend_dump_op_array(const zend_op_array *op_array, uint32_t dump_flags, const char *msg, const
void *data)