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/Target/ARM/ARMSelectionDAGInfo.cpp b/lib/Target/ARM/ARMSelectionDAGInfo.cpp index 31d5d38..b33b3c9 100644 --- a/lib/Target/ARM/ARMSelectionDAGInfo.cpp +++ b/lib/Target/ARM/ARMSelectionDAGInfo.cpp
@@ -155,7 +155,7 @@ TargetLowering::ArgListEntry Entry; // First argument: data pointer - Type *IntPtrTy = TLI.getTargetData()->getIntPtrType(*DAG.getContext()); + Type *IntPtrTy = TLI.getDataLayout()->getIntPtrType(*DAG.getContext()); Entry.Node = Dst; Entry.Ty = IntPtrTy; Args.push_back(Entry);