mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Work-in-progress towards getting generic new array expressions working.
Swift SVN r2509
This commit is contained in:
@@ -106,10 +106,8 @@ void swift::irgen::emitNewArrayExpr(IRGenFunction &IGF, NewArrayExpr *E,
|
||||
length = bounds.claimUnmanagedNext();
|
||||
}
|
||||
|
||||
const TypeInfo &elementTI = IGF.getFragileTypeInfo(E->getElementType());
|
||||
|
||||
Expr *init = nullptr;
|
||||
ArrayHeapLayout layout(IGF.IGM, elementTI);
|
||||
ArrayHeapLayout layout(IGF, E->getElementType());
|
||||
|
||||
Address begin;
|
||||
ManagedValue alloc =
|
||||
|
||||
Reference in New Issue
Block a user