Alan Wu e77eee96a3 ZJIT: Load return value before frame teardown
Or else the following returns garbage since it loads after
moving SP. Prior bad disassembly:

    def a(n1,n2,n3,n4,n5,n6,n7,n8) = n8
    a(1,1,1,1,1,1,1,0)

    # Block: bb0(v0, v1, v2, v3, v4, v5, v6, v7, v8)
    stp x29, x30, [sp, #-0x10]!
    mov x29, sp
    # bump C stack pointer
    sub sp, sp, #0x10
    # Insn: v10 Return v8
    # pop stack frame
    adds x19, x19, #0x38
    stur x19, [x20, #0x10]
    # restore C stack pointer
    add sp, sp, #0x10
    mov sp, x29
    ldp x29, x30, [sp], #0x10
    ldur x0, [sp]
    ret
2025-07-21 23:09:42 -04:00
..
2025-06-15 22:37:20 +09:00
2025-05-11 23:32:50 +09:00
2024-11-08 19:48:56 +09:00
2024-09-18 11:16:22 +09:00
2025-05-31 04:01:33 +09:00
2025-05-31 04:01:33 +09:00
2025-06-26 10:18:14 -07:00
2025-07-16 00:03:04 +09:00
2024-11-29 03:01:46 +09:00
2024-11-08 19:48:56 +09:00
2025-06-07 18:30:44 +02:00
2024-08-22 10:01:55 -04:00