1. 27 Aug, 2019 3 commits
  2. 26 Aug, 2019 13 commits
  3. 25 Aug, 2019 3 commits
  4. 24 Aug, 2019 1 commit
  5. 23 Aug, 2019 4 commits
  6. 22 Aug, 2019 3 commits
  7. 21 Aug, 2019 3 commits
  8. 20 Aug, 2019 2 commits
  9. 19 Aug, 2019 1 commit
  10. 18 Aug, 2019 1 commit
  11. 16 Aug, 2019 3 commits
  12. 15 Aug, 2019 2 commits
  13. 14 Aug, 2019 1 commit
    • Cherry Zhang's avatar
      reflect: align first argument in callMethod · 5f45a333
      Cherry Zhang authored
      When calling a function obtained from reflect.Value.Method (or
      MethodByName), we copy the arguments from the caller frame, which
      does not include the receiver, to a new frame to call the actual
      method, which does include the receiver. Here we need to align
      the first (non-receiver) argument. As the receiver is pointer
      sized, it is generally naturally aligned, except on amd64p32,
      where the argument can have larger alignment, and this aligning
      becomes necessary.
      
      Fixes #33628.
      
      Change-Id: I5bea0e20173f06d1602c5666d4f334e3d0de5c1e
      Reviewed-on: https://go-review.googlesource.com/c/go/+/190297
      Run-TryBot: Cherry Zhang <cherryyz@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarKeith Randall <khr@golang.org>
      5f45a333