mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
d788b27cd4
commit
6d5ea923a2
4 changed files with 4 additions and 4 deletions
|
|
@ -581,7 +581,7 @@ func (p *Package) loadDWARF(f *File, conv *typeConv, names []*Name) {
|
||||||
// As of https://reviews.llvm.org/D123534, clang
|
// As of https://reviews.llvm.org/D123534, clang
|
||||||
// now emits DW_TAG_variable DIEs that have
|
// now emits DW_TAG_variable DIEs that have
|
||||||
// no name (so as to be able to describe the
|
// 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:
|
// like the second arg in the call below:
|
||||||
//
|
//
|
||||||
// myfunction(42, "foo")
|
// myfunction(42, "foo")
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ func AdjustStartingHeap(requestedHeapGoal uint64) {
|
||||||
// interface. Instead, live is estimated by knowing the adjusted value of
|
// interface. Instead, live is estimated by knowing the adjusted value of
|
||||||
// GOGC and the new heap goal following a GC (this requires knowing that
|
// GOGC and the new heap goal following a GC (this requires knowing that
|
||||||
// at least one GC has occurred):
|
// at least one GC has occurred):
|
||||||
// estLive = 100 * newGoal / (100 + currentGogc)]
|
// estLive = 100 * newGoal / (100 + currentGogc)
|
||||||
// this new value of GOGC
|
// this new value of GOGC
|
||||||
// newGogc = 100*requestedHeapGoal/estLive - 100
|
// newGogc = 100*requestedHeapGoal/estLive - 100
|
||||||
// will result in the desired goal. The logging code checks that the
|
// will result in the desired goal. The logging code checks that the
|
||||||
|
|
|
||||||
|
|
@ -470,7 +470,7 @@ func init() {
|
||||||
// MOVD $16,R31
|
// MOVD $16,R31
|
||||||
// loop:
|
// loop:
|
||||||
// STXVD2X VS32,(R0)(R3)
|
// STXVD2X VS32,(R0)(R3)
|
||||||
// STXVD2X VS32,(R31),R3)
|
// STXVD2X VS32,(R31)(R3)
|
||||||
// ADD R3,32
|
// ADD R3,32
|
||||||
// BC loop
|
// BC loop
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
// 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
|
// (this assumes that the value ordering vaguely corresponds to the source
|
||||||
// program execution order, which tends to be true directly after ssa is
|
// program execution order, which tends to be true directly after ssa is
|
||||||
// first built.
|
// first built).
|
||||||
if i >= len(b.Values)-1 {
|
if i >= len(b.Values)-1 {
|
||||||
return i
|
return i
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue