type CallSite struct {
Callee *ir.Func
Call *ir.CallExpr
+ parent *CallSite
Assign ir.Node
Flags CSPropBits
Score int
ScoreMask scoreAdjustTyp
ID uint
+ aux uint8
}
// CallSiteTab is a table of call sites, keyed by call expr.
CallSiteInInitFunc
)
+type csAuxBits uint8
+
+const (
+ csAuxInlined = 1 << iota
+)
+
// encodedCallSiteTab is a table keyed by "encoded" callsite
// (stringified src.XPos plus call site ID) mapping to a value of call
// property bits and score.