If overrides codegen.Builder.If to ensure all the scopes are popped after onTrue reaches its last instruction.
(cond *codegen.Value, onTrue func(s *S))
| 93 | // If overrides codegen.Builder.If to ensure all the scopes are popped after |
| 94 | // onTrue reaches its last instruction. |
| 95 | func (s *S) If(cond *codegen.Value, onTrue func(s *S)) { |
| 96 | s.Builder.If(cond, func() { s.enter(onTrue) }) |
| 97 | } |
| 98 | |
| 99 | // IfElse overrides codegen.Builder.IfElse to ensure all the scopes are |
| 100 | // popped after onTrue and onFalse reach their last instruction. |
no test coverage detected