Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
#[derive(Debug)]
pub enum OpCode {
/// Push a constant onto the stack.
OpConstant(usize),
// Literal pushes
OpNil,
OpTrue,
OpFalse,
/// Return from the current function.
OpReturn,
// Boolean operators
OpNot,
/// Unary negation
OpNegate,
// Arithmetic operators
OpAdd,
OpSubtract,
OpMultiply,
OpDivide,
}