mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
handle upcast instructions in statically initialized globals
This allows statically initialized multi-dimensional arrays in embedded swift.
This commit is contained in:
@@ -5879,6 +5879,10 @@ class UpcastInst final : public UnaryInstructionWithTypeDependentOperandsBase<
|
||||
forwardingOwnershipKind) {
|
||||
}
|
||||
|
||||
static UpcastInst *create(SILDebugLocation DebugLoc, SILValue Operand,
|
||||
SILType Ty, SILModule &Mod,
|
||||
ValueOwnershipKind forwardingOwnershipKind);
|
||||
|
||||
static UpcastInst *create(SILDebugLocation DebugLoc, SILValue Operand,
|
||||
SILType Ty, SILFunction &F,
|
||||
ValueOwnershipKind forwardingOwnershipKind);
|
||||
|
||||
Reference in New Issue
Block a user