com php-src: Added missed opcodes: Zend/zend_opcode.c
| From: | Dmitry Stogov | Date: | Mon, 03 Jul 2017 18:26:44 +0000 |
| Subject: | com php-src: Added missed opcodes: Zend/zend_opcode.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98304@lists.php.net to get a copy of this message | ||
Commit: 55cd4e859b2d4a405be112452ed76d07ff404c01
Author: Dmitry Stogov <dmitry@zend.com> Mon, 3 Jul 2017 21:26:44 +0300
Parents: f066f59eab719d0171febf7bcd7f70edb5ffd6bd
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=55cd4e859b2d4a405be112452ed76d07ff404c01
Log:
Added missed opcodes
Changed paths:
M Zend/zend_opcode.c
Diff:
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index a0ec068..895cd83 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -695,6 +695,7 @@ ZEND_API binary_op_type get_binary_op(int opcode)
case ZEND_ASSIGN_MUL:
return (binary_op_type) mul_function;
case ZEND_POW:
+ case ZEND_ASSIGN_POW:
return (binary_op_type) pow_function;
case ZEND_DIV:
case ZEND_ASSIGN_DIV:
@@ -717,6 +718,7 @@ ZEND_API binary_op_type get_binary_op(int opcode)
case ZEND_IS_NOT_IDENTICAL:
return (binary_op_type) is_not_identical_function;
case ZEND_IS_EQUAL:
+ case ZEND_CASE:
return (binary_op_type) is_equal_function;
case ZEND_IS_NOT_EQUAL:
return (binary_op_type) is_not_equal_function;