mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
da5d8fdd0c
commit
fe73c186eb
5 changed files with 11 additions and 12 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue