func (c *Config) NewFunc() *Func {
	// TODO(khr): should this function take name, type, etc. as arguments?
	if c.curFunc != nil {
		c.Fatalf(0, "NewFunc called without previous Free")
	}
	f := &Func{Config: c, NamedValues: map[LocalSlot][]*Value{}}
	c.curFunc = f
	return f
}
// NewFunc returns a new, empty function object.
// Caller must call f.Free() before calling NewFunc again.
NewFunc returns a new, empty function object.
Caller must call f.Free() before calling NewFunc again.
// NewFunc returns a new empty function object . // Caller must call f . Free () before calling NewFunc again .
func (c *Config) NewFunc() *Func {
	if c.curFunc != nil {
		c.Fatalf(0, "NewFunc called without previous Free")
	}
	f := &Func{Config: c, NamedValues: map[LocalSlot][]*Value{}}
	c.curFunc = f
	return f
}
func ( c * Config ) NewFunc ( ) * Func { if c . curFunc != nil { c . Fatalf ( 0 , " " ) } f := & Func { Config : c , NamedValues : map [ LocalSlot ] [ ] * Value { } } c . curFunc = f return f }
NewFunc returns a new, empty function object.
NewFunc returns a new empty function object .
// TODO(khr): should this function take name, type, etc. as arguments?