expr lowers a single-result expression e to SSA form, emitting code to fn and returning the Value defined by the expression.
(e Expr)
| 791 | // to fn and returning the Value defined by the expression. |
| 792 | // |
| 793 | func (b *builder) expr(e Expr) (res Value) { |
| 794 | b.split(func(w *writer) { |
| 795 | w.expr(e) |
| 796 | }, func(r *reader) { |
| 797 | res = r.expr() |
| 798 | }) |
| 799 | return |
| 800 | } |
| 801 | |
| 802 | func (w *writer) expr(e Expr) { |
| 803 | e = Unparen(e) |
no test coverage detected