diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-23 00:50:30 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-23 00:50:30 +0000 |
commit | 6f17966a804f53518aa06fd0b5f035d5b1a51589 (patch) | |
tree | fdbf627feb3c42ecde07c2521147afe947ae7464 /lib | |
parent | 535de1a8c14fdfeb3912d3192accb58d9aa1e9e7 (diff) |
Move SelectionDAG's constructor out of line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 2167656171..3e3890142f 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -763,6 +763,13 @@ unsigned SelectionDAG::getMVTAlignment(MVT VT) const { return TLI.getTargetData()->getABITypeAlignment(Ty); } +SelectionDAG::SelectionDAG(TargetLowering &tli, MachineFunction &mf, + FunctionLoweringInfo &fli, MachineModuleInfo *mmi, + NodeAllocatorType &nodeallocator) + : TLI(tli), MF(mf), FLI(fli), MMI(mmi), NodeAllocator(nodeallocator) { + EntryNode = Root = getNode(ISD::EntryToken, MVT::Other); +} + SelectionDAG::~SelectionDAG() { while (!AllNodes.empty()) { SDNode *N = AllNodes.remove(AllNodes.begin()); |