cmd: fix mismatched symbols

Change-Id: I8852c0a29dffec9635d61b7670cfed78ebed07f5
Reviewed-on: https://go-review.googlesource.com/c/go/+/514315
Run-TryBot: shuang cui <imcusg@gmail.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
cui fliter 2023-07-31 21:40:45 +08:00 committed by Gopher Robot
parent d788b27cd4
commit 6d5ea923a2
4 changed files with 4 additions and 4 deletions

View file

@ -581,7 +581,7 @@ func (p *Package) loadDWARF(f *File, conv *typeConv, names []*Name) {
// As of https://reviews.llvm.org/D123534, clang
// now emits DW_TAG_variable DIEs that have
// no name (so as to be able to describe the
// type and source locations of constant strings
// type and source locations of constant strings)
// like the second arg in the call below:
//
// myfunction(42, "foo")

View file

@ -107,7 +107,7 @@ func AdjustStartingHeap(requestedHeapGoal uint64) {
// interface. Instead, live is estimated by knowing the adjusted value of
// GOGC and the new heap goal following a GC (this requires knowing that
// at least one GC has occurred):
// estLive = 100 * newGoal / (100 + currentGogc)]
// estLive = 100 * newGoal / (100 + currentGogc)
// this new value of GOGC
// newGogc = 100*requestedHeapGoal/estLive - 100
// will result in the desired goal. The logging code checks that the

View file

@ -470,7 +470,7 @@ func init() {
// MOVD $16,R31
// loop:
// STXVD2X VS32,(R0)(R3)
// STXVD2X VS32,(R31),R3)
// STXVD2X VS32,(R31)(R3)
// ADD R3,32
// BC loop

View file

@ -32,7 +32,7 @@ func nextGoodStatementIndex(v *Value, i int, b *Block) int {
// If the value is the last one in the block, too bad, it will have to do
// (this assumes that the value ordering vaguely corresponds to the source
// program execution order, which tends to be true directly after ssa is
// first built.
// first built).
if i >= len(b.Values)-1 {
return i
}