diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2017-03-17 23:45:05 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-04-10 22:23:14 +0200 |
| commit | ad8652818a54790e01fcf181791aa780ac6922c9 (patch) | |
| tree | 7df0e640a877b87bde44c85410898ed8039b87fd /ext/opcache/zend_persist.c | |
| parent | d1a012b60270b751449de79235028295696145b2 (diff) | |
| download | php-git-ad8652818a54790e01fcf181791aa780ac6922c9.tar.gz | |
Implement jumptable optimization
Diffstat (limited to 'ext/opcache/zend_persist.c')
| -rw-r--r-- | ext/opcache/zend_persist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c index 59f3765fea..30bbfe08d4 100644 --- a/ext/opcache/zend_persist.c +++ b/ext/opcache/zend_persist.c @@ -446,6 +446,8 @@ static void zend_persist_op_array_ex(zend_op_array *op_array, zend_persistent_sc case ZEND_DECLARE_ANON_INHERITED_CLASS: case ZEND_FE_FETCH_R: case ZEND_FE_FETCH_RW: + case ZEND_SWITCH_LONG: + case ZEND_SWITCH_STRING: /* relative extended_value don't have to be changed */ break; } |
