Jurassic.Compiler.DynamicILGenerator.Negate C# (CSharp) Method

Negate() public method

Pops a value from the stack, negates it, then pushes it back onto the stack.
public Negate ( ) : void
return void
        public override void Negate()
        {
            Emit1ByteOpCode(0x65, 1, 1);

#if DEBUG
            var topOfStack = this.operands.Peek();
            PopStackOperands(VESType.Int32 | VESType.Int64 | VESType.NativeInt | VESType.Float);
            PushStackOperand(topOfStack);
#endif
        }
DynamicILGenerator