Change-Id: Ica8d5e5799a4de532764ae86cdb623508d3a8e18
GitHub-Last-Rev:
3e97cca9de3885f2fe0d7deb776e59cc1c73146d
GitHub-Pull-Request: golang/go#58689
Reviewed-on: https://go-review.googlesource.com/c/go/+/471021
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
}
// One might be tempted to create a v >= ft.zero relation for
// all OpPhi's composed of only provably-positive values
- // but that bloats up the facts table for a very neglible gain.
+ // but that bloats up the facts table for a very negligible gain.
// In Go itself, very few functions get improved (< 5) at a cost of 5-7% total increase
// of compile time.
}
q := c.newprog()
if p.Link == nil {
// If p is the last instruction of the function, insert an UNDEF instruction in case the
- // exection fall through to the pool.
+ // execution fall through to the pool.
q.As = obj.AUNDEF
} else {
// Else insert a branch to the next instruction of p.
t.Fatal("Expected TLSHandshakeStart to be called, but wasn't")
}
if !done {
- t.Fatal("Expected TLSHandshakeDone to be called, but wasnt't")
+ t.Fatal("Expected TLSHandshakeDone to be called, but wasn't")
}
}
func TestEnvNULCharacter(t *testing.T) {
if runtime.GOOS == "plan9" {
- t.Skip("plan9 explicitly allows NUL in the enviroment")
+ t.Skip("plan9 explicitly allows NUL in the environment")
}
cmd := helperCommand(t, "echoenv", "FOO", "BAR")
cmd.Env = append(cmd.Environ(), "FOO=foo\x00BAR=bar")