]> Cypherpunks repositories - gostls13.git/commitdiff
cmd: fix mismatched symbols
authorcui fliter <imcusg@gmail.com>
Mon, 31 Jul 2023 13:40:45 +0000 (21:40 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 14 Aug 2023 21:26:13 +0000 (21:26 +0000)
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>
src/cmd/cgo/gcc.go
src/cmd/compile/internal/base/base.go
src/cmd/compile/internal/ssa/_gen/PPC64Ops.go
src/cmd/compile/internal/ssa/numberlines.go

index 7ae6fbcc48ef66b26342fb8038c06a5c37394a3b..78a44d33a247b0a6267aa8da538a3c81652a2c27 100644 (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")
index 0c374f16610fd49d98e7d936dd7836ba1f7a06e5..dd73e50c66b8d22526c6bc7674947af0f7049ce1 100644 (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
index af555416a8276bdea8d9271f512b141beea3155b..d002a43331fd49585a14363026d79735e8830570 100644 (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
 
index 4cbc4919f497b178f86cd32391d537eef897406c..b4eca324d5200590b89c13796f085db9b4ce4439 100644 (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
        }