예제 #1
0
 private void InitializeNodeInfo(Command command)
 {
     if (Op.IsRelOp
         || Op.IsPhysicalOp)
     {
         m_nodeInfo = new ExtendedNodeInfo(command);
     }
     else
     {
         m_nodeInfo = new NodeInfo(command);
     }
     command.RecomputeNodeInfo(this);
 }
 internal override void ComputeHashValue(Command cmd, Node n)
 {
     base.ComputeHashValue(cmd, n);
     this.m_hashValue = this.m_hashValue << 4 ^ NodeInfo.GetHashValue(this.Definitions);
     this.m_hashValue = this.m_hashValue << 4 ^ NodeInfo.GetHashValue(this.Keys.KeyVars);
 }