From bf8c6dbd993c4d3bd9fbaf36b3ed068b28d25027 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 20 Jul 1999 13:01:30 +0000 Subject: [PATCH] - Get rid of C++ comments --- Zend/zend_compile.c | 1 - Zend/zend_execute_API.c | 1 - Zend/zend_list.c | 4 ++-- Zend/zend_operators.c | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 452763fe11..5a224a8b7e 100644 --- a/Zend/zend_compile.c +++ b/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--; } diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index d5f7c111ea..a5b94889c9 100644 --- a/Zend/zend_execute_API.c +++ b/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); } diff --git a/Zend/zend_list.c b/Zend/zend_list.c index 3f1d01327e..44992abd3e 100644 --- a/Zend/zend_list.c +++ b/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 { diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 8e202f255b..d73feecd83 100644 --- a/Zend/zend_operators.c +++ b/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; } -- 2.40.0