Browse Source

- Get rid of C++ comments

experimental/newoperator
Andi Gutmans 27 years ago
parent
commit
bf8c6dbd99
  1. 1
      Zend/zend_compile.c
  2. 1
      Zend/zend_execute_API.c
  3. 4
      Zend/zend_list.c
  4. 1
      Zend/zend_operators.c

1
Zend/zend_compile.c

@ -933,7 +933,6 @@ void do_early_binding(CLS_D)
opline->opcode = ZEND_NOP;
SET_UNUSED(opline->op1);
SET_UNUSED(opline->op2);
//CG(active_op_array)->last--;
}

1
Zend/zend_execute_API.c

@ -313,7 +313,6 @@ int call_user_function(HashTable *function_table, zval *object, zval *function_n
*param = *(params[i]);
INIT_PZVAL(param);
zval_copy_ctor(param);
//zend_hash_next_index_insert_ptr(function_state.function_symbol_table, param, sizeof(zval *), NULL);
zend_ptr_stack_push(&EG(argument_stack), param);
}

4
Zend/zend_list.c

@ -48,7 +48,7 @@ static inline int zend_list_do_delete(HashTable *list,int id)
ELS_FETCH();
if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) {
// printf("del(%d): %d->%d\n", id, le->refcount, le->refcount-1);
/* printf("del(%d): %d->%d\n", id, le->refcount, le->refcount-1); */
if (--le->refcount<=0) {
return zend_hash_index_del(&EG(regular_list), id);
} else {
@ -96,7 +96,7 @@ ZEND_API int zend_list_addref(int id)
ELS_FETCH();
if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) {
// printf("add(%d): %d->%d\n", id, le->refcount, le->refcount+1);
/* printf("add(%d): %d->%d\n", id, le->refcount, le->refcount+1); */
le->refcount++;
return SUCCESS;
} else {

1
Zend/zend_operators.c

@ -936,7 +936,6 @@ ZEND_API int is_not_equal_function(zval *result, zval *op1, zval *op2)
ZEND_API int is_smaller_function(zval *result, zval *op1, zval *op2)
{
//printf("Comparing %d and %d\n", op1->value.lval, op2->value.lval);
if (compare_function(result, op1, op2) == FAILURE) {
return FAILURE;
}

Loading…
Cancel
Save