[xdebug-dev] xdebug xdebug/xdebug.c xdebug/xdebug_code_coverage.c - Overload some more opcodes

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 26 Sep 2006 13:48:47 +0200

Date: Tue Sep 26 13:48:47 CEST 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.50]
- Overload some more opcodes
- Ignore the ZEND_OP_DATA pseudo opcode

Modified files:
           xdebug/xdebug.c (version: 1.344)
           xdebug/xdebug_code_coverage.c (version: 1.23)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.343
retrieving revision 1.344
diff -u -r1.343 -r1.344
--- xdebug/xdebug.c:1.343 Mon Sep 25 18:20:01 2006 GMT
+++ xdebug/xdebug.c Tue Sep 26 09:48:47 2006 GMT
@@ -507,11 +507,16 @@
 XDEBUG_OPCODE_OVERRIDE(ext_stmt)
 XDEBUG_OPCODE_OVERRIDE(raise_abstract_error)
 XDEBUG_OPCODE_OVERRIDE(send_var)
+XDEBUG_OPCODE_OVERRIDE(send_var_no_ref)
 XDEBUG_OPCODE_OVERRIDE(send_val)
 XDEBUG_OPCODE_OVERRIDE(new)
 XDEBUG_OPCODE_OVERRIDE(ext_fcall_begin)
 XDEBUG_OPCODE_OVERRIDE(catch)
 XDEBUG_OPCODE_OVERRIDE(bool)
+XDEBUG_OPCODE_OVERRIDE(add_string)
+XDEBUG_OPCODE_OVERRIDE(init_array)
+XDEBUG_OPCODE_OVERRIDE(fetch_dim_r)
+XDEBUG_OPCODE_OVERRIDE(fetch_obj_func_arg)
 #endif
 
 
@@ -560,11 +565,16 @@
         XDEBUG_SET_OPCODE_OVERRIDE(ext_stmt, ZEND_EXT_STMT);
         XDEBUG_SET_OPCODE_OVERRIDE(raise_abstract_error, ZEND_RAISE_ABSTRACT_ERROR);
         XDEBUG_SET_OPCODE_OVERRIDE(send_var, ZEND_SEND_VAR);
+ XDEBUG_SET_OPCODE_OVERRIDE(send_var_no_ref, ZEND_SEND_VAR_NO_REF);
         XDEBUG_SET_OPCODE_OVERRIDE(send_val, ZEND_SEND_VAL);
         XDEBUG_SET_OPCODE_OVERRIDE(new, ZEND_NEW);
         XDEBUG_SET_OPCODE_OVERRIDE(ext_fcall_begin, ZEND_EXT_FCALL_BEGIN);
         XDEBUG_SET_OPCODE_OVERRIDE(catch, ZEND_CATCH);
         XDEBUG_SET_OPCODE_OVERRIDE(bool, ZEND_BOOL);
+ XDEBUG_SET_OPCODE_OVERRIDE(add_string, ZEND_ADD_STRING);
+ XDEBUG_SET_OPCODE_OVERRIDE(init_array, ZEND_INIT_ARRAY);
+ XDEBUG_SET_OPCODE_OVERRIDE(fetch_dim_r, ZEND_FETCH_DIM_R);
+ XDEBUG_SET_OPCODE_OVERRIDE(fetch_obj_func_arg, ZEND_FETCH_OBJ_FUNC_ARG);
 #endif
 
         if (zend_xdebug_initialised == 0) {

[FILE: /xdebug/xdebug_code_coverage.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- xdebug/xdebug_code_coverage.c:1.22 Mon Sep 25 19:08:25 2006 GMT
+++ xdebug/xdebug_code_coverage.c Tue Sep 26 09:48:47 2006 GMT
@@ -91,6 +91,7 @@
                 opcode.opcode != ZEND_RECV_INIT
 #ifdef ZEND_ENGINE_2
                 && opcode.opcode != ZEND_VERIFY_ABSTRACT_CLASS
+ && opcode.opcode != ZEND_OP_DATA
 #endif
         ) {
                 xdebug_count_line(fn, opcode.lineno, 1, deadcode TSRMLS_CC);
Received on Tue Sep 26 2006 - 13:48:53 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST