Skip to content

Commit 64214d2

Browse files
committed
Update IR
IR commit: eff4b4109aed08d4864bd5bd7228575d8fd01158
1 parent 76e5d82 commit 64214d2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ext/opcache/jit/ir/ir_gdb.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,13 +500,14 @@ typedef struct _ir_gdbjit_descriptor {
500500
struct _ir_gdbjit_code_entry *first_entry;
501501
} ir_gdbjit_descriptor;
502502

503+
#ifdef IR_EXTERNAL_GDB_ENTRY
504+
extern ir_gdbjit_descriptor __jit_debug_descriptor;
505+
void __jit_debug_register_code(void);
506+
#else
503507
ir_gdbjit_descriptor __jit_debug_descriptor = {
504508
1, IR_GDBJIT_NOACTION, NULL, NULL
505509
};
506510

507-
#ifdef IR_EXTERNAL_GDB_ENTRY
508-
void __jit_debug_register_code(void);
509-
#else
510511
IR_NEVER_INLINE void __jit_debug_register_code(void)
511512
{
512513
__asm__ __volatile__("");

0 commit comments

Comments
 (0)