Skip to content

Commit 8fd4970

Browse files
authored
Merge pull request #35289 from eeckstein/fix-di-64k-limit
DefiniteInitialization: remove the limit of 64k aggregate elements.
2 parents 7d44f6a + 8075010 commit 8fd4970

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/SILOptimizer/Mandatory/DIMemoryUseCollector.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,10 @@ struct DIMemoryUse {
298298

299299
/// For memory objects of (potentially recursive) tuple type, this keeps
300300
/// track of which tuple elements are affected.
301-
unsigned short FirstElement, NumElements;
301+
unsigned FirstElement, NumElements;
302302

303303
DIMemoryUse(SILInstruction *Inst, DIUseKind Kind, unsigned FE, unsigned NE)
304304
: Inst(Inst), Kind(Kind), FirstElement(FE), NumElements(NE) {
305-
assert(FE == FirstElement && NumElements == NE &&
306-
"more than 64K elements not supported yet");
307305
}
308306

309307
DIMemoryUse() : Inst(nullptr) {}

0 commit comments

Comments
 (0)