示例#1
0
        public override MIPSRegister VisitNullNode(NullNode n)
        {
            var reg = GetMIPSRegister();

            emit.Emit("xor", reg, reg, reg);
            return(reg);
        }
示例#2
0
 public override LLVMRegister VisitNullNode(NullNode n)
 {
     throw new NotImplementedException();
 }
示例#3
0
 public override LData VisitNullNode(NullNode n)
 {
     return(LNull.NULL);
 }
示例#4
0
 public object VisitNullNode(NullNode n)
 {
     WriteLine(n.kind);
     return(null);
 }
示例#5
0
 public virtual T VisitNullNode(NullNode n)
 {
     return(default(T));
 }