devirtualize

package standard library
go1.20.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package devirtualize implements a simple "devirtualization" optimization pass, which replaces interface method calls with direct concrete-type method calls where possible.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(call *ir.CallExpr)

Call devirtualizes the given call if possible.

func Func

func Func(fn *ir.Func)

Func devirtualizes calls within fn where possible.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL