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

Method exprSRem

cmd/ll2go/constant.go:289–291  ·  view source on GitHub ↗

exprSRem converts the given LLVM IR srem expression to a corresponding Go statement.

(expr *constant.ExprSRem)

Source from the content-addressed store, hash-verified

287// exprSRem converts the given LLVM IR srem expression to a corresponding Go
288// statement.
289func (d *decompiler) exprSRem(expr *constant.ExprSRem) ast.Expr {
290 return d.binaryOp(expr.X, token.REM, expr.Y)
291}
292
293// exprFRem converts the given LLVM IR frem expression to a corresponding Go
294// statement.

Callers 1

exprMethod · 0.95

Calls 1

binaryOpMethod · 0.95

Tested by

no test coverage detected