mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
First iteration of CaptureAnalysis.
Swift SVN r1284
This commit is contained in:
@@ -72,15 +72,6 @@ IRGenModule::~IRGenModule() {
|
||||
delete &Types;
|
||||
}
|
||||
|
||||
llvm::Constant *IRGenModule::getMemCpyFn() {
|
||||
if (MemCpyFn) return MemCpyFn;
|
||||
|
||||
llvm::Type *types[] = { SizeTy };
|
||||
MemCpyFn = llvm::Intrinsic::getDeclaration(&Module, llvm::Intrinsic::memcpy,
|
||||
types);
|
||||
return MemCpyFn;
|
||||
}
|
||||
|
||||
llvm::Constant *IRGenModule::getAllocFn() {
|
||||
if (AllocFn) return AllocFn;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user