mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
Change opcode name
This commit is contained in:
+1
-1
@@ -1119,7 +1119,7 @@ void zend_do_receive_arg(zend_uchar op, znode *var, znode *offset, znode *initia
|
||||
|
||||
opline = get_next_op(CG(active_op_array) TSRMLS_CC);
|
||||
|
||||
opline->opcode = ZEND_VERIFY_CE;
|
||||
opline->opcode = ZEND_VERIFY_INSTANCEOF;
|
||||
opline->op1 = *class_type;
|
||||
opline->op2 = passed_var;
|
||||
opline->extended_value = offset->u.constant.value.lval;
|
||||
|
||||
+1
-1
@@ -662,7 +662,7 @@ int zendlex(znode *zendlval TSRMLS_DC);
|
||||
#define ZEND_START_NAMESPACE 143
|
||||
|
||||
#define ZEND_ADD_INTERFACE 144
|
||||
#define ZEND_VERIFY_CE 145
|
||||
#define ZEND_VERIFY_INSTANCEOF 145
|
||||
|
||||
/* end of block */
|
||||
|
||||
|
||||
+2
-2
@@ -3994,7 +3994,7 @@ int zend_add_interface_handler(ZEND_OPCODE_HANDLER_ARGS)
|
||||
}
|
||||
|
||||
|
||||
int zend_verify_ce_handler(ZEND_OPCODE_HANDLER_ARGS)
|
||||
int zend_verify_instanceof_handler(ZEND_OPCODE_HANDLER_ARGS)
|
||||
{
|
||||
zval *arg = get_zval_ptr(&EX(opline)->op2, EX(Ts), &EG(free_op2), BP_VAR_R);
|
||||
zend_class_entry *ce = EX_T(EX(opline)->op1.u.var).EA.class_entry;
|
||||
@@ -4192,7 +4192,7 @@ void zend_init_opcodes_handlers()
|
||||
zend_opcode_handlers[ZEND_START_NAMESPACE] = zend_start_namespace_handler;
|
||||
|
||||
zend_opcode_handlers[ZEND_ADD_INTERFACE] = zend_add_interface_handler;
|
||||
zend_opcode_handlers[ZEND_VERIFY_CE] = zend_verify_ce_handler;
|
||||
zend_opcode_handlers[ZEND_VERIFY_INSTANCEOF] = zend_verify_instanceof_handler;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user