protected internal virtual void VisitLoadSizeOfValue(LoadSizeOfValue node, object data) { throw new NodeNotSupportedException(node); }
//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); }
//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); }