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 | e2c0a4fad5bad03ae14e767a710748326feda7d9 (patch) | |
tree | 6dd003cbdb4ec9e8de257e666f84b9b6f413de51 | |
parent | 2dad0250f683ac5b28a8984ce5be00d299f3c35e (diff) | |
download | external_llvm-e2c0a4fad5bad03ae14e767a710748326feda7d9.tar.gz external_llvm-e2c0a4fad5bad03ae14e767a710748326feda7d9.tar.bz2 external_llvm-e2c0a4fad5bad03ae14e767a710748326feda7d9.zip |
DAGSize should not be public.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52977 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGISel.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h index 3ebe515b38..c5aa77a9a5 100644 --- a/include/llvm/CodeGen/SelectionDAGISel.h +++ b/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, |