Skip to content

Commit e92896f

Browse files
SammyKnikic
authored andcommitted
Remove spurious CG(context).in_finally dingleberry
1 parent 797ee05 commit e92896f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Zend/zend_compile.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ void zend_oparray_context_begin(zend_oparray_context *prev_context) /* {{{ */
234234
CG(context).vars_size = 0;
235235
CG(context).literals_size = 0;
236236
CG(context).backpatch_count = 0;
237-
CG(context).in_finally = 0;
238237
CG(context).fast_call_var = -1;
239238
CG(context).try_catch_offset = -1;
240239
CG(context).current_brk_cont = -1;
@@ -4936,9 +4935,7 @@ void zend_compile_try(zend_ast *ast) /* {{{ */
49364935

49374936
zend_emit_op(NULL, ZEND_JMP, NULL, NULL);
49384937

4939-
CG(context).in_finally++;
49404938
zend_compile_stmt(finally_ast);
4941-
CG(context).in_finally--;
49424939

49434940
CG(active_op_array)->try_catch_array[try_catch_offset].finally_op = opnum_jmp + 1;
49444941
CG(active_op_array)->try_catch_array[try_catch_offset].finally_end

Zend/zend_compile.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ typedef struct _zend_oparray_context {
191191
int vars_size;
192192
int literals_size;
193193
int backpatch_count;
194-
int in_finally;
195194
uint32_t fast_call_var;
196195
uint32_t try_catch_offset;
197196
int current_brk_cont;

0 commit comments

Comments
 (0)