Re-instate the allocVector builtin

Although it's not used anymore we still have to support it to be able to read old Swift.interface files which still contain the builtin.

rdar://144781646
This commit is contained in:
Erik Eckstein
2025-02-13 17:55:27 +01:00
parent 725bd910be
commit af5ac6d283
7 changed files with 40 additions and 0 deletions

View File

@@ -157,6 +157,7 @@ static bool isBarrier(SILInstruction *inst) {
case BuiltinValueKind::StackAlloc:
case BuiltinValueKind::UnprotectedStackAlloc:
case BuiltinValueKind::StackDealloc:
case BuiltinValueKind::AllocVector:
case BuiltinValueKind::AssumeAlignment:
case BuiltinValueKind::GetEnumTag:
case BuiltinValueKind::InjectEnumTag: