Some extra header docs
Этот коммит содержится в:
родитель
0b372ba5bd
коммит
6e0c60a7a1
2 изменённых файлов: 7 добавлений и 0 удалений
3
ir.go
3
ir.go
|
@ -9,6 +9,9 @@ import (
|
|||
"golang.org/x/tools/go/ssa"
|
||||
)
|
||||
|
||||
// This file provides a wrapper around go/ssa values and adds extra
|
||||
// functionality to them.
|
||||
|
||||
// View on all functions, types, and globals in a program, with analysis
|
||||
// results.
|
||||
type Program struct {
|
||||
|
|
|
@ -5,6 +5,10 @@ import (
|
|||
"golang.org/x/tools/go/ssa"
|
||||
)
|
||||
|
||||
// This function implements several optimization passes (analysis + transform)
|
||||
// to optimize code in SSA form before it is compiled to LLVM IR. It is based on
|
||||
// the IR defined in ir.go.
|
||||
|
||||
// Make a readable version of the method signature (including the function name,
|
||||
// excluding the receiver name). This string is used internally to match
|
||||
// interfaces and to call the correct method on an interface. Examples:
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче