diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-07-01 18:49:06 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-07-01 18:49:06 +0000 |
commit | 39a9ee48a20b400bc576d7d02551f22af6fff11c (patch) | |
tree | 012579cf209cae73ecdc58dcf0be425ae3536e80 | |
parent | e61e120c17d185ff8b15beb4db238d007488ac21 (diff) | |
download | bcm5719-llvm-39a9ee48a20b400bc576d7d02551f22af6fff11c.tar.gz bcm5719-llvm-39a9ee48a20b400bc576d7d02551f22af6fff11c.zip |
DAGSize should not be public.
llvm-svn: 52977
-rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAGISel.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGISel.h b/llvm/include/llvm/CodeGen/SelectionDAGISel.h index 3ebe515b38b..c5aa77a9a59 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGISel.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGISel.h @@ -41,14 +41,13 @@ public: SelectionDAG *CurDAG; MachineBasicBlock *BB; AliasAnalysis *AA; - std::vector<SDNode*> TopOrder; - unsigned DAGSize; CollectorMetadata *GCI; bool FastISel; + std::vector<SDNode*> TopOrder; static char ID; explicit SelectionDAGISel(TargetLowering &tli, bool fast = false) : - FunctionPass((intptr_t)&ID), TLI(tli), DAGSize(0), GCI(0), FastISel(fast) {} + FunctionPass((intptr_t)&ID), TLI(tli), GCI(0), FastISel(fast), DAGSize(0) {} TargetLowering &getTargetLowering() { return TLI; } @@ -163,6 +162,10 @@ public: }; protected: + /// DAGSize - Size of DAG being instruction selected. + /// + unsigned DAGSize; + /// SelectInlineAsmMemoryOperands - Calls to this are automatically generated /// by tblgen. Others should not call it. void SelectInlineAsmMemoryOperands(std::vector<SDOperand> &Ops, |