summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2016-03-17 11:59:15 +0800
committerXinchen Hui <laruence@gmail.com>2016-03-17 11:59:15 +0800
commit73e8c08788a65d65adcb32eea1ab92353ee9046b (patch)
tree8eb4f235f3360de648b686f003a73db78ed0aaf3 /Zend/zend_execute.c
parenta4b2f7f3a94a8c52b673ac2ad553551ebfaaeb42 (diff)
downloadphp-git-73e8c08788a65d65adcb32eea1ab92353ee9046b.tar.gz
Sorry for that... Merged by accident....
Revert "Transparently introduce type-specialized opcode handlers." This reverts commit 59d00b8bcc05f72b29c3c768542b2bb6e69e1af4.
Diffstat (limited to 'Zend/zend_execute.c')
-rw-r--r--Zend/zend_execute.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 2b18ef95b3..2db03c4043 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -40,7 +40,6 @@
#include "zend_vm.h"
#include "zend_dtrace.h"
#include "zend_inheritance.h"
-#include "zend_type_info.h"
/* Virtual current working directory support */
#include "zend_virtual_cwd.h"
@@ -2611,20 +2610,6 @@ void zend_cleanup_unfinished_execution(zend_execute_data *execute_data, uint32_t
cleanup_live_vars(execute_data, op_num, catch_op_num);
}
-static void zend_swap_operands(zend_op *op) /* {{{ */
-{
- znode_op tmp;
- zend_uchar tmp_type;
-
- tmp = op->op1;
- tmp_type = op->op1_type;
- op->op1 = op->op2;
- op->op1_type = op->op2_type;
- op->op2 = tmp;
- op->op2_type = tmp_type;
-}
-/* }}} */
-
#ifdef HAVE_GCC_GLOBAL_REGS
# if defined(__GNUC__) && ZEND_GCC_VERSION >= 4008 && defined(i386)
# define ZEND_VM_FP_GLOBAL_REG "%esi"