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

Method exprSub

cmd/ll2go/constant.go:241–243  ·  view source on GitHub ↗

exprSub converts the given LLVM IR sub expression to a corresponding Go statement.

(expr *constant.ExprSub)

Source from the content-addressed store, hash-verified

239// exprSub converts the given LLVM IR sub expression to a corresponding Go
240// statement.
241func (d *decompiler) exprSub(expr *constant.ExprSub) ast.Expr {
242 return d.binaryOp(expr.X, token.SUB, expr.Y)
243}
244
245// exprFSub converts the given LLVM IR fsub expression to a corresponding Go
246// statement.

Callers 1

exprMethod · 0.95

Calls 1

binaryOpMethod · 0.95

Tested by

no test coverage detected