diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-03 06:30:17 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-03 06:30:17 +0000 |
commit | 0bcc52114e37a8d152d9a05095ee7f7687c9aa94 (patch) | |
tree | 53c1fb6e227ec170d016fa37d77c997232df0c08 /lib/CodeGen/ABIInfo.h | |
parent | 46327aaf031529be2cf8bb21bc76d7a5ae0d43cd (diff) |
Remove ABIArgInfo::Default kind, ABI is now responsible for specifying
acceptable kind with more precise semantics.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ABIInfo.h')
-rw-r--r-- | lib/CodeGen/ABIInfo.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/CodeGen/ABIInfo.h b/lib/CodeGen/ABIInfo.h index d343ffdbbe..83348d2765 100644 --- a/lib/CodeGen/ABIInfo.h +++ b/lib/CodeGen/ABIInfo.h @@ -26,8 +26,6 @@ namespace clang { class ABIArgInfo { public: enum Kind { - Default, - Direct, /// Pass the argument directly using the normal /// converted LLVM type. @@ -54,7 +52,7 @@ namespace clang { /// are all scalar types or are themselves expandable /// types. - KindFirst=Default, KindLast=Expand + KindFirst=Direct, KindLast=Expand }; private: @@ -67,11 +65,8 @@ namespace clang { TypeData(TD), UIntData(0) {} public: - ABIArgInfo() : TheKind(Default), TypeData(0), UIntData(0) {} + ABIArgInfo() : TheKind(Direct), TypeData(0), UIntData(0) {} - static ABIArgInfo getDefault() { - return ABIArgInfo(Default); - } static ABIArgInfo getDirect() { return ABIArgInfo(Direct); } @@ -92,7 +87,6 @@ namespace clang { } Kind getKind() const { return TheKind; } - bool isDefault() const { return TheKind == Default; } bool isDirect() const { return TheKind == Direct; } bool isStructRet() const { return TheKind == StructRet; } bool isIgnore() const { return TheKind == Ignore; } |