diff options
| author | Micah Villmow <villmow@gmail.com> | 2012-10-08 16:39:34 +0000 |
|---|---|---|
| committer | Micah Villmow <villmow@gmail.com> | 2012-10-08 16:39:34 +0000 |
| commit | 9cfc13d46c60643867e1b72f6539dd8400be52df (patch) | |
| tree | b51dbc67f55236808bfc55f4137f973eef5f8687 /llvm/utils/TableGen | |
| parent | cdfe20b97f55f4f493ebd6f15932780ae0789fe4 (diff) | |
| download | bcm5719-llvm-9cfc13d46c60643867e1b72f6539dd8400be52df.tar.gz bcm5719-llvm-9cfc13d46c60643867e1b72f6539dd8400be52df.zip | |
Move TargetData to DataLayout.
llvm-svn: 165403
Diffstat (limited to 'llvm/utils/TableGen')
| -rw-r--r-- | llvm/utils/TableGen/CallingConvEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CallingConvEmitter.cpp b/llvm/utils/TableGen/CallingConvEmitter.cpp index e9c4bd30f91..dff97f4e835 100644 --- a/llvm/utils/TableGen/CallingConvEmitter.cpp +++ b/llvm/utils/TableGen/CallingConvEmitter.cpp @@ -177,12 +177,12 @@ void CallingConvEmitter::EmitAction(Record *Action, if (Size) O << Size << ", "; else - O << "\n" << IndentStr << " State.getTarget().getTargetData()" + O << "\n" << IndentStr << " State.getTarget().getDataLayout()" "->getTypeAllocSize(EVT(LocVT).getTypeForEVT(State.getContext())), "; if (Align) O << Align; else - O << "\n" << IndentStr << " State.getTarget().getTargetData()" + O << "\n" << IndentStr << " State.getTarget().getDataLayout()" "->getABITypeAlignment(EVT(LocVT).getTypeForEVT(State.getContext()))"; if (Action->isSubClassOf("CCAssignToStackWithShadow")) O << ", " << getQualifiedName(Action->getValueAsDef("ShadowReg")); |

