summaryrefslogtreecommitdiff
path: root/jni/ruby/missing/x86_64-chkstk.s
blob: 6d1227b6d225ff43eaf8049385e9ce9934795215 (plain)
1
2
3
4
5
6
7
8
9
10
        .text
.globl ___chkstk
___chkstk:
        pushq   %rax
        movq    %rax, %rcx
        movq    %rsp, %rdx
        call    _ruby_alloca_chkstk
        popq    %rax
        subq    %rax, %rsp
        ret