mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +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:
|
public:
|
||||||
// Ctor.
|
// 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.
|
/// isEnd - Returns true when not more operands are available.
|
||||||
///
|
///
|
||||||
@ -652,9 +653,9 @@ bool SimpleSched::isPassiveNode(SDNode *Node) {
|
|||||||
/// IncludeNode - Add node to NodeInfo vector.
|
/// IncludeNode - Add node to NodeInfo vector.
|
||||||
///
|
///
|
||||||
void SimpleSched::IncludeNode(NodeInfo *NI) {
|
void SimpleSched::IncludeNode(NodeInfo *NI) {
|
||||||
// Get node
|
// Get node
|
||||||
SDNode *Node = NI->Node;
|
SDNode *Node = NI->Node;
|
||||||
// Ignore entry node
|
// Ignore entry node
|
||||||
if (Node->getOpcode() == ISD::EntryToken) return;
|
if (Node->getOpcode() == ISD::EntryToken) return;
|
||||||
// Check current count for node
|
// Check current count for node
|
||||||
int Count = NI->getPending();
|
int Count = NI->getPending();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user