summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ABIInfo.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-03 06:30:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-03 06:30:17 +0000
commit0136282a9c6d5d62e218bba107bb82263a56ac19 (patch)
tree503315943a0e376052de348effb98532f8b7fc03 /clang/lib/CodeGen/ABIInfo.h
parentf755c2b7a4f7f2c6c7a9702a5e231c62e4b252cd (diff)
downloadbcm5719-llvm-0136282a9c6d5d62e218bba107bb82263a56ac19.tar.gz
bcm5719-llvm-0136282a9c6d5d62e218bba107bb82263a56ac19.zip
Remove ABIArgInfo::Default kind, ABI is now responsible for specifying
acceptable kind with more precise semantics. llvm-svn: 63617
Diffstat (limited to 'clang/lib/CodeGen/ABIInfo.h')
-rw-r--r--clang/lib/CodeGen/ABIInfo.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/ABIInfo.h b/clang/lib/CodeGen/ABIInfo.h
index d343ffdbbe6..83348d27655 100644
--- a/clang/lib/CodeGen/ABIInfo.h
+++ b/clang/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; }
OpenPOWER on IntegriCloud