Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Python/jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,13 +586,13 @@ patch_aarch64_trampoline(unsigned char *location, int ordinal, jit_state *state)
uint32_t *p = (uint32_t *)get_symbol_slot(ordinal, &state->trampolines, TRAMPOLINE_SIZE);

/* Generate the trampoline
0: 58000048 ldr x8, 8
4: d61f0100 br x8
0: 58000050 ldr x16, 8
4: d61f0200 br x16
8: 00000000 // The next two words contain the 64-bit address to jump to.
c: 00000000
*/
p[0] = 0x58000048;
p[1] = 0xD61F0100;
p[0] = 0x58000050;
p[1] = 0xD61F0200;
p[2] = value & 0xffffffff;
p[3] = value >> 32;

Expand Down
Loading