JITContext.newUnaryOp

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

  1. JITRValue newUnaryOp(JITLocation loc, JITUnaryOp op, JITType type, JITRValue a)
  2. JITRValue newUnaryOp(JITUnaryOp op, JITType type, JITRValue a)

Parameters

loc JITLocation

The source location, if any.

op JITUnaryOp

Which unary operation.

type JITType

The type of the result.

a JITRValue

The input expression.

Meta