commit | 3574eca1b02600bac4e625297f4ecf745f4c4f32 | [log] [tgz] |
---|---|---|
author | Micah Villmow <villmow@gmail.com> | Mon Oct 08 16:38:25 2012 +0000 |
committer | Micah Villmow <villmow@gmail.com> | Mon Oct 08 16:38:25 2012 +0000 |
tree | 197d30c8bd3a1505b260b9d2ead2b4d778ecbe9e | |
parent | 2b4b44e0d2e95fc695eafcc4d192fe1ae261e01e [diff] [blame] |
Move TargetData to DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165402 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp b/lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp index a081e3c..f769b44 100644 --- a/lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp +++ b/lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp
@@ -16,7 +16,7 @@ using namespace llvm; TargetSelectionDAGInfo::TargetSelectionDAGInfo(const TargetMachine &TM) - : TD(TM.getTargetData()) { + : TD(TM.getDataLayout()) { } TargetSelectionDAGInfo::~TargetSelectionDAGInfo() {