]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/liveness: remove excess bits for stackmap
authorzhangjian <zj.cosmos@gmail.com>
Sun, 11 Jun 2023 11:29:55 +0000 (11:29 +0000)
committerKeith Randall <khr@golang.org>
Sun, 3 Sep 2023 15:46:21 +0000 (15:46 +0000)
commit05d4b57c9fd082c8f68f454d1bb4ae26a3c7f5b9
tree4a85c1e2696b41ec5949b1d4bee8131cc8c885c8
parente7fbd28a4dbf92721f040dfb2c877153333054d1
cmd/compile/internal/liveness: remove excess bits for stackmap

ArgWidth() already includes the stack space required for
input parameters and return values, so their offset will
not exceed the value of ArgWidth(), so there is no need
to double it.

Change-Id: I10fde7afbf2a5714b5142075c2116af14debc7e8
GitHub-Last-Rev: eaf3fd5eb86ed1d968a6d5962c71ee3144424598
GitHub-Pull-Request: golang/go#60591
Reviewed-on: https://go-review.googlesource.com/c/go/+/500675
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: guangyuan zhou <zhouguangyuan@golangcn.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/liveness/plive.go