summaryrefslogtreecommitdiff
path: root/Zend/zend_vm_opcodes.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-07-04 17:25:43 +0300
committerDmitry Stogov <dmitry@zend.com>2019-07-04 17:25:43 +0300
commitef05eab432625dd6a2e62055ea7723d64bed593e (patch)
treeef459de098978e15e7e21d680c01d8cd5ef1d710 /Zend/zend_vm_opcodes.h
parent925fd0fe6f11d164c888fefe5e267f700fd22263 (diff)
downloadphp-git-ef05eab432625dd6a2e62055ea7723d64bed593e.tar.gz
Improve zend_binary_assign_op helpers.
Reorder opcode numbers to make ADD-POW and ASSIGN_ADD-ASSIGN_POW opcodes sequencional.
Diffstat (limited to 'Zend/zend_vm_opcodes.h')
-rw-r--r--Zend/zend_vm_opcodes.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/Zend/zend_vm_opcodes.h b/Zend/zend_vm_opcodes.h
index d902ac705b..a738bf8184 100644
--- a/Zend/zend_vm_opcodes.h
+++ b/Zend/zend_vm_opcodes.h
@@ -88,28 +88,28 @@ END_EXTERN_C()
#define ZEND_BW_OR 9
#define ZEND_BW_AND 10
#define ZEND_BW_XOR 11
-#define ZEND_BW_NOT 12
-#define ZEND_BOOL_NOT 13
-#define ZEND_BOOL_XOR 14
-#define ZEND_IS_IDENTICAL 15
-#define ZEND_IS_NOT_IDENTICAL 16
-#define ZEND_IS_EQUAL 17
-#define ZEND_IS_NOT_EQUAL 18
-#define ZEND_IS_SMALLER 19
-#define ZEND_IS_SMALLER_OR_EQUAL 20
-#define ZEND_CAST 21
-#define ZEND_QM_ASSIGN 22
-#define ZEND_ASSIGN_ADD 23
-#define ZEND_ASSIGN_SUB 24
-#define ZEND_ASSIGN_MUL 25
-#define ZEND_ASSIGN_DIV 26
-#define ZEND_ASSIGN_MOD 27
-#define ZEND_ASSIGN_SL 28
-#define ZEND_ASSIGN_SR 29
-#define ZEND_ASSIGN_CONCAT 30
-#define ZEND_ASSIGN_BW_OR 31
-#define ZEND_ASSIGN_BW_AND 32
-#define ZEND_ASSIGN_BW_XOR 33
+#define ZEND_POW 12
+#define ZEND_BW_NOT 13
+#define ZEND_BOOL_NOT 14
+#define ZEND_BOOL_XOR 15
+#define ZEND_IS_IDENTICAL 16
+#define ZEND_IS_NOT_IDENTICAL 17
+#define ZEND_IS_EQUAL 18
+#define ZEND_IS_NOT_EQUAL 19
+#define ZEND_IS_SMALLER 20
+#define ZEND_IS_SMALLER_OR_EQUAL 21
+#define ZEND_ASSIGN_ADD 22
+#define ZEND_ASSIGN_SUB 23
+#define ZEND_ASSIGN_MUL 24
+#define ZEND_ASSIGN_DIV 25
+#define ZEND_ASSIGN_MOD 26
+#define ZEND_ASSIGN_SL 27
+#define ZEND_ASSIGN_SR 28
+#define ZEND_ASSIGN_CONCAT 29
+#define ZEND_ASSIGN_BW_OR 30
+#define ZEND_ASSIGN_BW_AND 31
+#define ZEND_ASSIGN_BW_XOR 32
+#define ZEND_ASSIGN_POW 33
#define ZEND_PRE_INC 34
#define ZEND_PRE_DEC 35
#define ZEND_POST_INC 36
@@ -117,7 +117,7 @@ END_EXTERN_C()
#define ZEND_ASSIGN 38
#define ZEND_ASSIGN_REF 39
#define ZEND_ECHO 40
-#define ZEND_GENERATOR_CREATE 41
+#define ZEND_QM_ASSIGN 41
#define ZEND_JMP 42
#define ZEND_JMPZ 43
#define ZEND_JMPNZ 44
@@ -127,7 +127,7 @@ END_EXTERN_C()
#define ZEND_CASE 48
#define ZEND_CHECK_VAR 49
#define ZEND_SEND_VAR_NO_REF_EX 50
-#define ZEND_MAKE_REF 51
+#define ZEND_CAST 51
#define ZEND_BOOL 52
#define ZEND_FAST_CONCAT 53
#define ZEND_ROPE_INIT 54
@@ -215,10 +215,12 @@ END_EXTERN_C()
#define ZEND_ASSIGN_OBJ 136
#define ZEND_OP_DATA 137
#define ZEND_INSTANCEOF 138
-#define ZEND_DECLARE_CLASS 139
+#define ZEND_GENERATOR_CREATE 139
+#define ZEND_MAKE_REF 140
#define ZEND_DECLARE_FUNCTION 141
#define ZEND_YIELD_FROM 142
#define ZEND_DECLARE_CONST 143
+#define ZEND_DECLARE_CLASS 144
#define ZEND_DECLARE_CLASS_DELAYED 145
#define ZEND_ASSIGN_DIM 147
#define ZEND_ISSET_ISEMPTY_PROP_OBJ 148
@@ -237,8 +239,6 @@ END_EXTERN_C()
#define ZEND_FAST_RET 163
#define ZEND_RECV_VARIADIC 164
#define ZEND_SEND_UNPACK 165
-#define ZEND_POW 166
-#define ZEND_ASSIGN_POW 167
#define ZEND_BIND_GLOBAL 168
#define ZEND_COALESCE 169
#define ZEND_SPACESHIP 170