diff options
| author | Than McIntosh <thanm@google.com> | 2023-06-29 11:44:04 -0400 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2023-06-29 16:02:11 +0000 |
| commit | fe73c186eba2c849a2f2aeaca091ddb5bac3aef1 (patch) | |
| tree | 6bc9de2453379b8bfc200288a427956de42bfd77 /src/cmd/compile/internal/devirtualize/devirtualize.go | |
| parent | da5d8fdd0c8963ca8f355088bf810c030eb7da27 (diff) | |
| download | go-fe73c186eba2c849a2f2aeaca091ddb5bac3aef1.tar.xz | |
cmd/{go,compile}: run gofmt
Ran gofmt on a couple of Go source files that needed it.
Change-Id: I0e9f78831f531a728b892a63c6e0c517d92b11a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/507156
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/devirtualize/devirtualize.go')
| -rw-r--r-- | src/cmd/compile/internal/devirtualize/devirtualize.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/compile/internal/devirtualize/devirtualize.go b/src/cmd/compile/internal/devirtualize/devirtualize.go index cfeb8d8ee9..b156b66312 100644 --- a/src/cmd/compile/internal/devirtualize/devirtualize.go +++ b/src/cmd/compile/internal/devirtualize/devirtualize.go @@ -4,11 +4,11 @@ // Package devirtualize implements two "devirtualization" optimization passes: // -// - "Static" devirtualization which replaces interface method calls with -// direct concrete-type method calls where possible. -// - "Profile-guided" devirtualization which replaces indirect calls with a -// conditional direct call to the hottest concrete callee from a profile, as -// well as a fallback using the original indirect call. +// - "Static" devirtualization which replaces interface method calls with +// direct concrete-type method calls where possible. +// - "Profile-guided" devirtualization which replaces indirect calls with a +// conditional direct call to the hottest concrete callee from a profile, as +// well as a fallback using the original indirect call. package devirtualize import ( |
