[SIL] NFC: Migrate BranchInst to InstructionBaseWithTrailingOperands

This commit is contained in:
David Zarzycki
2017-12-23 17:01:44 -05:00
parent 2dc1917283
commit 25b85596b2
3 changed files with 15 additions and 20 deletions

View File

@@ -303,6 +303,8 @@ protected:
UIWTDOB_BITFIELD(CheckedCastBranchInst, SingleValueInstruction, 0, : NumPadBits);
UIWTDOB_BITFIELD(CheckedCastValueBranchInst, SingleValueInstruction, 0, : NumPadBits);
// Ensure that BranchInst bitfield does not overflow.
IBWTO_BITFIELD(BranchInst, TermInst, 0, : NumPadBits);
SWIFT_INLINE_BITFIELD_FULL(SwitchValueInst, TermInst, 1+32,
HasDefault : 1,
: NumPadBits,