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

Method exprFAdd

cmd/ll2go/constant.go:235–237  ·  view source on GitHub ↗

exprFAdd converts the given LLVM IR fadd expression to a corresponding Go statement.

(expr *constant.ExprFAdd)

Source from the content-addressed store, hash-verified

233// exprFAdd converts the given LLVM IR fadd expression to a corresponding Go
234// statement.
235func (d *decompiler) exprFAdd(expr *constant.ExprFAdd) ast.Expr {
236 return d.binaryOp(expr.X, token.ADD, expr.Y)
237}
238
239// exprSub converts the given LLVM IR sub expression to a corresponding Go
240// statement.

Callers 1

exprMethod · 0.95

Calls 1

binaryOpMethod · 0.95

Tested by

no test coverage detected