boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

arm64-va-pointer-operand.after (432B)


      1 ST_FUNC void gen_va_start(void)
      2 {
      3     int r;
      4     --vtop; // we don't need the "arg"
      5     /* Pairs with the va_list[1] typedef in include/stdarg.h: when ap
      6      * is array-decayed (or a pointer parameter), vtop is already a
      7      * pointer to the __va_list_struct. Only the legacy struct-lvalue
      8      * form needs gaddrof to take its address. */
      9     if ((vtop->type.t & VT_BTYPE) != VT_PTR)
     10         gaddrof();
     11     r = intr(gv(RC_INT));