Skip to content

Commit

Permalink
- Nuke unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Gutmans committed Mar 21, 2004
1 parent 91e3e2e commit f0b5eeb
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions Zend/zend_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -2110,36 +2110,6 @@ int zend_fetch_dim_tmp_var_handler(ZEND_OPCODE_HANDLER_ARGS)
}


int zend_make_var_handler(ZEND_OPCODE_HANDLER_ARGS)
{
zval *value, *value2;

value = get_zval_ptr(&opline->op1, EX(Ts), &EG(free_op1), BP_VAR_R);
switch (opline->op1.op_type) {
case IS_TMP_VAR:
value2 = value;
ALLOC_ZVAL(value);
*value = *value2;
value->is_ref = 0;
value->refcount = 0; /* lock will increase this */
break;
case IS_CONST:
value2 = value;
ALLOC_ZVAL(value);
*value = *value2;
zval_copy_ctor(value);
value->is_ref = 0;
value->refcount = 0; /* lock will increase this */
break;
}

EX_T(opline->result.u.var).var.ptr = value;
PZVAL_LOCK(EX_T(opline->result.u.var).var.ptr);

NEXT_OPCODE();
}


int zend_assign_obj_handler(ZEND_OPCODE_HANDLER_ARGS)
{
zend_op *op_data = opline+1;
Expand Down

0 comments on commit f0b5eeb

Please sign in to comment.