com php-src: Remove debug instructions (...): sapi/phpdbg/phpdb g_list.c sapi/phpdbg/phpdbg_opcode.c
| From: | Bob Weinand | Date: | Fri, 31 Jul 2015 11:23:45 +0000 |
| Subject: | com php-src: Remove debug instructions (...): sapi/phpdbg/phpdb g_list.c sapi/phpdbg/phpdbg_opcode.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88251@lists.php.net to get a copy of this message | ||
Commit: 590c5a7e501bec91c4f57813d167e870653f2451
Author: Bob Weinand <bobwei9@hotmail.com> Fri, 31 Jul 2015 13:23:30 +0200
Parents: 35b61e4f4da82f1aedd8adc0f20513188ccd19ac
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=590c5a7e501bec91c4f57813d167e870653f2451
Log:
Remove debug instructions (...)
Changed paths:
M sapi/phpdbg/phpdbg_list.c
M sapi/phpdbg/phpdbg_opcode.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c
index 7413ded..89e352a 100644
--- a/sapi/phpdbg/phpdbg_list.c
+++ b/sapi/phpdbg/phpdbg_list.c
@@ -320,7 +320,6 @@ zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) {
*dataptr->op_array->refcount = 2;
dataptr->destroy_op_array = 0;
}
- ++*dataptr->op_array->refcount;
}
return ret;
diff --git a/sapi/phpdbg/phpdbg_opcode.c b/sapi/phpdbg/phpdbg_opcode.c
index 8b6c964..d8e8ebf 100644
--- a/sapi/phpdbg/phpdbg_opcode.c
+++ b/sapi/phpdbg/phpdbg_opcode.c
@@ -211,8 +211,6 @@ void phpdbg_print_opline_ex(zend_execute_data *execute_data, zend_bool ignore_fl
cur->next = NULL;
PHPDBG_G(oplog_cur)->next = cur;
PHPDBG_G(oplog_cur) = cur;
-if (!execute_data->func->op_array..filename)
-printf("ALETR");
}
} /* }}} */