private RemoveStackTop newRemoveStackTop(BasicBlock block) { RemoveStackTop result = new RemoveStackTop(); result.Options[BasicBlock.BASIC_BLOCK_OPTION] = block; return result; }
protected internal override void VisitRemoveStackTop(RemoveStackTop node, object data) { StackTypes stack = data as StackTypes; stack.Pop(); AddTask(node.Next,stack); }
protected internal virtual void VisitRemoveStackTop(RemoveStackTop node, object data) { throw new NodeNotSupportedException(node); }
protected override void VisitRemoveStackTop(RemoveStackTop upNode, object o) { State state = o as State; BTValue val = state.Stack.Pop() as BTValue; Annotation.SetNodeBTType(upNode, val.BTType); }
protected override void VisitRemoveStackTop(RemoveStackTop upNode, object o) { DepthContainer cnt = o as DepthContainer; cnt.Depth += 1; }
protected internal override void VisitRemoveStackTop(RemoveStackTop node, object data) { generator.Emit(OpCodes.Pop); AddTask(node.Next,null); }