• Austin Clements's avatar
    runtime: remove getcallerpc argument · 229aaac1
    Austin Clements authored
    Now that getcallerpc is a compiler intrinsic on x86 and non-x86
    platforms don't need the argument, we can drop it.
    
    Sadly, this doesn't let us remove any dummy arguments since all of
    those cases also use getcallersp, which still takes the argument
    pointer, but this is at least an improvement.
    
    Change-Id: I9c34a41cf2c18cba57f59938390bf9491efb22d2
    Reviewed-on: https://go-review.googlesource.com/65474
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Chase <drchase@google.com>
    229aaac1
chan.go 18.7 KB