diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-09 13:17:25 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-09 13:17:25 +0200 |
commit | 2aba10be4a49e162fd88e0a647ec3ff23982dbd8 (patch) | |
tree | f2234ff35028471f20232b3308d8ec6c04cb1333 /Zend/zend_vm_handlers.h | |
parent | f6f32f2cf0648cb4777408074e6293a97ed6a062 (diff) | |
download | php-git-2aba10be4a49e162fd88e0a647ec3ff23982dbd8.tar.gz |
Reduce ZEND_THROW specialization
Throwing is very expensive due to the need of gathering the backtrace,
so it makes little sense to optimize refcounting to this degree.
Diffstat (limited to 'Zend/zend_vm_handlers.h')
-rw-r--r-- | Zend/zend_vm_handlers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_vm_handlers.h b/Zend/zend_vm_handlers.h index 7aa1a93981..e3b037e916 100644 --- a/Zend/zend_vm_handlers.h +++ b/Zend/zend_vm_handlers.h @@ -962,8 +962,8 @@ _(1859, ZEND_SEND_VAR_NO_REF_SPEC_VAR) \ _(1860, ZEND_CATCH_SPEC_CONST) \ _(1861, ZEND_THROW_SPEC_CONST) \ - _(1862, ZEND_THROW_SPEC_TMP) \ - _(1863, ZEND_THROW_SPEC_VAR) \ + _(1862, ZEND_THROW_SPEC_TMPVAR) \ + _(1863, ZEND_THROW_SPEC_TMPVAR) \ _(1865, ZEND_THROW_SPEC_CV) \ _(1866, ZEND_FETCH_CLASS_SPEC_UNUSED_CONST) \ _(1867, ZEND_FETCH_CLASS_SPEC_UNUSED_TMPVAR) \ |