Split off a PolymorphicFunctionType from FunctionType. I am

*positive* that the behavior here is blatantly wrong in a lot
of places, but I'm going to leave it to Doug to clean up after me. :)

Swift SVN r2255
This commit is contained in:
John McCall
2012-06-27 00:22:15 +00:00
parent f44ed312ad
commit 668f674bfa
21 changed files with 314 additions and 115 deletions

View File

@@ -48,6 +48,7 @@ IRGenModule::IRGenModule(ASTContext &Context,
Int32Ty = llvm::Type::getInt32Ty(getLLVMContext());
Int64Ty = llvm::Type::getInt64Ty(getLLVMContext());
Int8PtrTy = llvm::Type::getInt8PtrTy(getLLVMContext());
Int8PtrPtrTy = Int8PtrTy->getPointerTo(0);
SizeTy = TargetData.getIntPtrType(getLLVMContext());
MemCpyFn = nullptr;
AllocObjectFn = nullptr;