Now that we have simple user defined data types, remove the __builtin_else_hack type. woot.

Swift SVN r179
This commit is contained in:
Chris Lattner
2010-10-09 22:06:13 +00:00
parent ac855b690b
commit 09a023c3cd
9 changed files with 3 additions and 21 deletions

View File

@@ -49,8 +49,7 @@ ASTContext::ASTContext(llvm::SourceMgr &sourcemgr)
SourceMgr(sourcemgr),
TheEmptyTupleType(getTupleType(0, 0)),
TheDependentType(new (*this) DependentType()),
TheInt32Type(new (*this) BuiltinType(BuiltinInt32Kind)),
TheElseHackType(new (*this) BuiltinType(BuiltinElseHackKind)) {
TheInt32Type(new (*this) BuiltinType(BuiltinInt32Kind)) {
}
ASTContext::~ASTContext() {
@@ -91,7 +90,6 @@ Type *ASTContext::getCanonicalType(Type *T) {
switch (T->Kind) {
case BuiltinInt32Kind:
case BuiltinElseHackKind:
case DependentTypeKind:
case DataTypeKind:
assert(0 && "These are always canonical");