Skip to content

Commit 66a45d5

Browse files
committed
Typo
1 parent c39126b commit 66a45d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/jit/tls/zend_jit_tls_aarch64.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ zend_result zend_jit_resolve_tsrm_ls_cache_offsets(
216216

217217
uint64_t movz_imm = (insn[0] & AARCH64_MOVZ_IMM_MASK) >> 5;
218218
uint64_t movz_shift = (((insn[0] & AARCH64_MOVZ_HW_MASK) >> 21) << 4);
219-
uint64_t mozk_imm = (insn[1] & AARCH64_MOVK_IMM_MASK) >> 5;
220-
uint64_t offset = (movz_imm << movz_shift) | mozk_imm;
219+
uint64_t movk_imm = (insn[1] & AARCH64_MOVK_IMM_MASK) >> 5;
220+
uint64_t offset = (movz_imm << movz_shift) | movk_imm;
221221

222222
if ((uintptr_t)&_tsrm_ls_cache - (uintptr_t)thread_pointer == offset) {
223223
zend_accel_error(ACCEL_LOG_DEBUG, "static tls at offset %" PRIxPTR " from thread pointer (inferred from code)\n", offset);

0 commit comments

Comments
 (0)