Exemplo n.º 1
0
 protected internal virtual void VisitInitValue(InitValue node, object data)
 {
     throw new NodeNotSupportedException(node);
 }
Exemplo n.º 2
0
 //protected internal override void VisitCopyObject(CopyObject node, object data)
 //{
 //    StackTypes stack = data as StackTypes;
 //    Verifier.ProcessCpObj(stack, node.Type);
 //    AddTask(node.Next,stack);
 //}
 protected internal override void VisitInitValue(InitValue node, object data)
 {
     StackTypes stack = data as StackTypes;
     Verifier.ProcessInitObj(stack, node.Type);
     AddTask(node.Next,stack);
 }
Exemplo n.º 3
0
 //protected internal override void VisitCopyObject(CopyObject node, object data)
 //{
 //    generator.Emit(OpCodes.Cpobj, node.Type);
 //    AddTask(node.Next,null);
 //}
 protected internal override void VisitInitValue(InitValue node, object data)
 {
     generator.Emit(OpCodes.Initobj, node.Type);
     AddTask(node.Next,null);
 }