示例#1
0
 protected internal virtual void VisitLoadFieldAddr(LoadFieldAddr node, object data)
 {
     throw new NodeNotSupportedException(node);
 }
示例#2
0
 protected internal override void VisitLoadFieldAddr(LoadFieldAddr node, object data)
 {
     StackTypes stack = data as StackTypes;
     if(node.Field.IsStatic)
         stack.Push(TypeEx.BuildRefType(node.Field.FieldType));
     else
         Verifier.ProcessLdFld(stack, node.Field , true);
     AddTask(node.Next,stack);
 }
示例#3
0
 protected internal override void VisitLoadFieldAddr(LoadFieldAddr node, object data)
 {
     if(node.Field.IsStatic)
         generator.Emit(OpCodes.Ldsflda, node.Field);
     else
         generator.Emit(OpCodes.Ldflda, node.Field);
     AddTask(node.Next,null);
 }