instAdd converts the given LLVM IR add instruction to a corresponding Go statement.
(inst *ir.InstAdd)
| 142 | // instAdd converts the given LLVM IR add instruction to a corresponding Go |
| 143 | // statement. |
| 144 | func (d *decompiler) instAdd(inst *ir.InstAdd) ast.Stmt { |
| 145 | expr := d.binaryOp(inst.X, token.ADD, inst.Y) |
| 146 | return d.assign(inst.Name, expr) |
| 147 | } |
| 148 | |
| 149 | // instFAdd converts the given LLVM IR fadd instruction to a corresponding Go |
| 150 | // statement. |