projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a9505
)
Removed deprecated code
author
Dmitry Stogov
<dmitry@zend.com>
Tue, 21 Apr 2015 08:48:43 +0000
(11:48 +0300)
committer
Dmitry Stogov
<dmitry@zend.com>
Tue, 21 Apr 2015 08:48:43 +0000
(11:48 +0300)
ext/opcache/Optimizer/block_pass.c
patch
|
blob
|
history
diff --git
a/ext/opcache/Optimizer/block_pass.c
b/ext/opcache/Optimizer/block_pass.c
index 03483039f1549c1e33580e1032ac494ee5c6ca31..97cdb5b9e84dd3191f9fdf3ba0ddbd9fa0045637 100644
(file)
--- a/
ext/opcache/Optimizer/block_pass.c
+++ b/
ext/opcache/Optimizer/block_pass.c
@@
-1162,14
+1162,6
@@
static void assemble_code_blocks(zend_cfg *cfg, zend_op_array *op_array)
cur_block = cur_block->next;
}
- if ((opline-1)->opcode == ZEND_THROW) {
- /* if we finished with THROW, we need to add space between THROW and HANDLE to not confuse
- zend_throw_internal */
- MAKE_NOP(opline);
- opline->lineno = opline[-1].lineno;
- opline++;
- }
-
op_array->last = opline-new_opcodes;
/* adjust exception jump targets */