Esempio n. 1
0
 protected internal virtual void VisitLoadSizeOfValue(LoadSizeOfValue node, object data)
 {
     throw new NodeNotSupportedException(node);
 }
Esempio n. 2
0
 //protected internal override void VisitLoadObject(LoadObject node, object data)
 //{
 //    StackTypes stack = data as StackTypes;
 //    Verifier.ProcessLdObj(stack, node.Type);
 //    AddTask(node.Next,stack);
 //}
 protected internal override void VisitLoadSizeOfValue(LoadSizeOfValue node, object data)
 {
     StackTypes stack = data as StackTypes;
     Verifier.ProcessSizeOf(stack, node.Type);
     AddTask(node.Next,stack);
 }
Esempio n. 3
0
 //protected internal override void VisitLoadObject(LoadObject node, object data)
 //{
 //    generator.Emit(OpCodes.Ldobj, node.Type);
 //    AddTask(node.Next,null);
 //}
 protected internal override void VisitLoadSizeOfValue(LoadSizeOfValue node, object data)
 {
     generator.Emit(OpCodes.Sizeof, node.Type);
     AddTask(node.Next,null);
 }