- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for auxToString (0.21 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
type auxMark bool func (auxMark) CanBeAnSSAAux() {} var AuxMark auxMark // stringAux wraps string values for use in Aux. type stringAux string func (stringAux) CanBeAnSSAAux() {} func auxToString(i Aux) string { return string(i.(stringAux)) } func auxToSym(i Aux) Sym { // TODO: kind of a hack - allows nil interface through s, _ := i.(Sym) return s } func auxToType(i Aux) *types.Type {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
fe := b.Func.fe typ := &b.Func.Config.Types // match: (ConstString {str}) // cond: config.PtrSize == 4 && str == "" // result: (StringMake (ConstNil) (Const32 <typ.Int> [0])) for { str := auxToString(v.Aux) if !(config.PtrSize == 4 && str == "") { break } v.reset(OpStringMake) v0 := b.NewValue0(v.Pos, OpConstNil, typ.BytePtr) v1 := b.NewValue0(v.Pos, OpConst32, typ.Int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0)