MCPcopy Create free account
hub / github.com/decomp/decomp / exprAdd

Method exprAdd

cmd/ll2go/constant.go:229–231  ·  view source on GitHub ↗

exprAdd converts the given LLVM IR add expression to a corresponding Go statement.

(expr *constant.ExprAdd)

Source from the content-addressed store, hash-verified

227// exprAdd converts the given LLVM IR add expression to a corresponding Go
228// statement.
229func (d *decompiler) exprAdd(expr *constant.ExprAdd) ast.Expr {
230 return d.binaryOp(expr.X, token.ADD, expr.Y)
231}
232
233// exprFAdd converts the given LLVM IR fadd expression to a corresponding Go
234// statement.

Callers 1

exprMethod · 0.95

Calls 1

binaryOpMethod · 0.95

Tested by

no test coverage detected