LocalInit returns a new local variable with the specified name and initial value.
(name string, val *Value)
| 156 | |
| 157 | // LocalInit returns a new local variable with the specified name and initial value. |
| 158 | func (b *Builder) LocalInit(name string, val *Value) *Value { |
| 159 | local := b.Local(name, val.ty) |
| 160 | local.Store(val) |
| 161 | return local |
| 162 | } |
| 163 | |
| 164 | // If builds an if statement. |
| 165 | func (b *Builder) If(cond *Value, onTrue func()) { |
no test coverage detected