From a2e924e582945a64388ba38a20b349752c382bd9 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 17 Apr 2024 00:27:34 +0300 Subject: [PATCH] Update IR IR commit: 81ccde4c3f41afb75723db2315403181e5e7cac1 Fixes JIT failures on ARM Linux --- ext/opcache/jit/ir/ir_aarch64.dasc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/opcache/jit/ir/ir_aarch64.dasc b/ext/opcache/jit/ir/ir_aarch64.dasc index f7e529929d2..33f5b88258c 100644 --- a/ext/opcache/jit/ir/ir_aarch64.dasc +++ b/ext/opcache/jit/ir/ir_aarch64.dasc @@ -922,7 +922,9 @@ binop_fp: return insn->op; } case IR_CALL: - ctx->flags |= IR_USE_FRAME_POINTER; + if (ctx->flags & IR_FUNCTION) { + ctx->flags |= IR_USE_FRAME_POINTER; + } ctx->flags2 |= IR_HAS_CALLS | IR_16B_FRAME_ALIGNMENT; return IR_CALL; case IR_VAR: