Skip to content

Commit 1c1165f

Browse files
committed
Avoid useless IP load
1 parent 0866208 commit 1c1165f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9240,12 +9240,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
92409240

92419241
| // if (UNEXPECTED(EG(exception) != NULL)) {
92429242
| MEM_OP2_1_ZTS cmp, aword, executor_globals, exception, 0, r0
9243-
| jne >1
9244-
|.cold_code
9245-
|1:
9246-
| LOAD_IP_ADDR opline
9247-
| jmp ->icall_throw_handler
9248-
|.code
9243+
| jne ->icall_throw_handler
92499244

92509245
// TODO: Can we avoid checking for interrupts after each call ???
92519246
if (trace && last_valid_opline != opline) {

0 commit comments

Comments
 (0)