github.com/notti/go-dynamic@v0.0.0-20190619201224-fc443047424c/steps/4_func/main_amd64.s (about)

     1  #include "textflag.h"
     2  #include "funcdata.h"
     3  #include "go_asm.h"
     4  
     5  TEXT ·callWrapper(SB),NOSPLIT|WRAPPER,$24
     6      NO_LOCAL_POINTERS
     7      MOVQ DX, 0(SP)
     8      LEAQ argframe+0(FP), CX
     9      MOVQ CX, 8(SP)
    10      CALL ·fake(SB)
    11      MOVQ SP, AX
    12      ADDQ $24+8+8, AX
    13      MOVQ 0(SP), CX
    14      MOVQ funcStorage_argsize(CX), CX
    15      ADDQ CX, AX
    16      MOVQ 16(SP), BX
    17      MOVQ BX, (AX)
    18      RET