summaryrefslogtreecommitdiff
path: root/Zend/zend_vm_opcodes.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-02-16 21:25:49 +0100
committerNikita Popov <nikita.ppv@gmail.com>2018-02-16 21:30:48 +0100
commitb0af9ac7331e3efa0dcee4f43b2ba8b1e4e52f2f (patch)
tree5b40edba9eee94ab22fe494ce0c919b3ffdfebe4 /Zend/zend_vm_opcodes.h
parent07ad75ca9603b8b0195ddcd90229ae9dbe650900 (diff)
downloadphp-git-b0af9ac7331e3efa0dcee4f43b2ba8b1e4e52f2f.tar.gz
Avoid live range references in opcodes
Don't store the live range of the freed variable for FREE_ON_RETURN frees, instead look it up at runtime. As this is an extremely unlikely codepath (in particular, it requires a loop variable with a throwing destructor), saving the runtime lookup of the live range is not worth the extra complexity this adds everywhere else.
Diffstat (limited to 'Zend/zend_vm_opcodes.h')
-rw-r--r--Zend/zend_vm_opcodes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_vm_opcodes.h b/Zend/zend_vm_opcodes.h
index 6f9b323bb0..b5c0a483d8 100644
--- a/Zend/zend_vm_opcodes.h
+++ b/Zend/zend_vm_opcodes.h
@@ -42,7 +42,6 @@
#define ZEND_VM_OP_NUM 0x00000010
#define ZEND_VM_OP_JMP_ADDR 0x00000020
#define ZEND_VM_OP_TRY_CATCH 0x00000030
-#define ZEND_VM_OP_LIVE_RANGE 0x00000040
#define ZEND_VM_OP_THIS 0x00000050
#define ZEND_VM_OP_NEXT 0x00000060
#define ZEND_VM_OP_CLASS_FETCH 0x00000070