Exemplo n.º 1
0
        public override void Compile(Emitter.Emitter emitter)
        {
            var leftType = Left.GetExpressionType(emitter);
              var rightType = Right.GetExpressionType(emitter);

              var type = GetExpressionType(emitter);

              Left.Compile(emitter);
              emitter.EmitUpcastBasicType(leftType, type);
              Right.Compile(emitter);
              emitter.EmitUpcastBasicType(rightType, type);
              emitter.EmitRem();
        }