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

Method exprSDiv

cmd/ll2go/constant.go:271–273  ·  view source on GitHub ↗

exprSDiv converts the given LLVM IR sdiv expression to a corresponding Go statement.

(expr *constant.ExprSDiv)

Source from the content-addressed store, hash-verified

269// exprSDiv converts the given LLVM IR sdiv expression to a corresponding Go
270// statement.
271func (d *decompiler) exprSDiv(expr *constant.ExprSDiv) ast.Expr {
272 return d.binaryOp(expr.X, token.QUO, expr.Y)
273}
274
275// exprFDiv converts the given LLVM IR fdiv expression to a corresponding Go
276// statement.

Callers 1

exprMethod · 0.95

Calls 1

binaryOpMethod · 0.95

Tested by

no test coverage detected