JITContext.newBinaryOp

Generic binary operations. Make a JITRValue for the given binary operation.

  1. JITRValue newBinaryOp(JITLocation loc, JITBinaryOp op, JITType type, JITRValue a, JITRValue b)
  2. JITRValue newBinaryOp(JITBinaryOp op, JITType type, JITRValue a, JITRValue b)

Parameters

loc JITLocation

The source location, if any.

op JITBinaryOp

Which binary operation.

type JITType

The type of the result.

a JITRValue

The first input expression.

b JITRValue

The second input expression.

Meta