Date: Mon Feb 27 22:00:55 CET 2006
User: Derick Rethans
Directory: xdebug
Log Message:
[0.50]
- Suppress NOP/EXT_NOP from being marked as executable code with Code
Coverage.
Modified files:
xdebug/xdebug_code_coverage.c (version: 1.16)
[FILE: /xdebug/xdebug_code_coverage.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- xdebug/xdebug_code_coverage.c:1.15 Sun Jan 01 14:27:27 2006 GMT
+++ xdebug/xdebug_code_coverage.c Mon Feb 27 20:00:55 2006 GMT
@@ -79,7 +79,9 @@
static void prefil_from_opcode(function_stack_entry *fse, char *fn, zend_op opcode TSRMLS_DC)
{
- xdebug_count_line(fn, opcode.lineno, 1 TSRMLS_CC);
+ if (opcode.opcode != ZEND_NOP && opcode.opcode != ZEND_EXT_NOP) {
+ xdebug_count_line(fn, opcode.lineno, 1 TSRMLS_CC);
+ }
}
static int prefil_from_function_table(zend_op_array *opa, int num_args, va_list args, zend_hash_key *hash_key)
Received on Mon Feb 27 2006 - 22:01:40 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST