Skip to content

Commit 67828ab

Browse files
committed
Align jumptables
1 parent 15c6b67 commit 67828ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11446,6 +11446,7 @@ static int zend_jit_switch(dasm_State **Dst, const zend_op *opline, const zend_o
1144611446
|.endif
1144711447
|3:
1144811448
|.cold_code
11449+
|.align aword
1144911450
|4:
1145011451
p = jumptable->arData;
1145111452
do {
@@ -11476,6 +11477,7 @@ static int zend_jit_switch(dasm_State **Dst, const zend_op *opline, const zend_o
1147611477
| jmp aword [r0 + >4]
1147711478
|3:
1147811479
|.cold_code
11480+
|.align aword
1147911481
|4:
1148011482
ZEND_HASH_FOREACH_VAL(jumptable, val) {
1148111483
b = ssa->cfg.map[ZEND_OFFSET_TO_OPLINE(opline, Z_LVAL_P(val)) - op_array->opcodes];
@@ -11521,6 +11523,7 @@ static int zend_jit_switch(dasm_State **Dst, const zend_op *opline, const zend_o
1152111523
| jmp aword [r0 + >4]
1152211524
|3:
1152311525
|.cold_code
11526+
|.align aword
1152411527
|4:
1152511528
ZEND_HASH_FOREACH_VAL(jumptable, val) {
1152611529
b = ssa->cfg.map[ZEND_OFFSET_TO_OPLINE(opline, Z_LVAL_P(val)) - op_array->opcodes];

0 commit comments

Comments
 (0)