Explicitly initialize some instance vars

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-08 21:54:57 +00:00
parent c30c5c7001
commit 4012eb2137

View File

@ -402,7 +402,8 @@ private:
public:
// Ctor.
NodeGroupOpIterator(NodeInfo *N) : NI(N), GI(N) {}
NodeGroupOpIterator(NodeInfo *N)
: NI(N), GI(N), OI(SDNode::op_iterator()), OE(SDNode::op_iterator()) {}
/// isEnd - Returns true when not more operands are available.
///
@ -652,9 +653,9 @@ bool SimpleSched::isPassiveNode(SDNode *Node) {
/// IncludeNode - Add node to NodeInfo vector.
///
void SimpleSched::IncludeNode(NodeInfo *NI) {
// Get node
SDNode *Node = NI->Node;
// Ignore entry node
// Get node
SDNode *Node = NI->Node;
// Ignore entry node
if (Node->getOpcode() == ISD::EntryToken) return;
// Check current count for node
int Count = NI->getPending();