Skip to content

Commit a547218

Browse files
committed
Fix AArch64 build: add missing "const" qualifier
1 parent 273f920 commit a547218

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/opcache/jit/ir/ir_aarch64.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ IR_ALWAYS_INLINE ir_mem IR_MEM(ir_reg base, int32_t offset, ir_reg index, int32_
6060
#define ADR_IMM (1<<20) // signed imm21
6161
#define ADRP_IMM (1LL<<32) // signed imm21 * 4096
6262

63-
static bool aarch64_may_use_b(ir_code_buffer *code_buffer, const void *addr)
63+
static bool aarch64_may_use_b(const ir_code_buffer *code_buffer, const void *addr)
6464
{
6565
if (code_buffer) {
6666
if (addr >= code_buffer->start && (char*)addr < (char*)code_buffer->end) {

0 commit comments

Comments
 (0)