mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
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:
parent
c30c5c7001
commit
4012eb2137
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user