mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL] NFC: Repack misc CopyAddrInst bits
This commit is contained in:
@@ -849,9 +849,11 @@ StrongPinInst::StrongPinInst(SILDebugLocation Loc, SILValue operand,
|
||||
CopyAddrInst::CopyAddrInst(SILDebugLocation Loc, SILValue SrcLValue,
|
||||
SILValue DestLValue, IsTake_t isTakeOfSrc,
|
||||
IsInitialization_t isInitializationOfDest)
|
||||
: InstructionBase(Loc), IsTakeOfSrc(isTakeOfSrc),
|
||||
IsInitializationOfDest(isInitializationOfDest),
|
||||
Operands(this, SrcLValue, DestLValue) {}
|
||||
: InstructionBase(Loc), Operands(this, SrcLValue, DestLValue) {
|
||||
SILInstruction::Bits.CopyAddrInst.IsTakeOfSrc = bool(isTakeOfSrc);
|
||||
SILInstruction::Bits.CopyAddrInst.IsInitializationOfDest =
|
||||
bool(isInitializationOfDest);
|
||||
}
|
||||
|
||||
BindMemoryInst *
|
||||
BindMemoryInst::create(SILDebugLocation Loc, SILValue Base, SILValue Index,
|
||||
|
||||
Reference in New Issue
Block a user