We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755f260 commit 2767d2aCopy full SHA for 2767d2a
lib/IRGen/GenProto.cpp
@@ -2561,8 +2561,9 @@ void IRGenModule::emitSILWitnessTable(SILWitnessTable *wt) {
2561
tableSize = wtableBuilder.getTableSize();
2562
instantiationFunction = wtableBuilder.buildInstantiationFunction();
2563
} else {
2564
- assert(!IRGen.Opts.UseRelativeProtocolWitnessTables &&
2565
- "resilient relative protocol witness tables are not supported");
+ if (IRGen.Opts.UseRelativeProtocolWitnessTables)
+ llvm::report_fatal_error("resilient relative protocol witness tables are not supported");
2566
+
2567
// Build the witness table.
2568
ResilientWitnessTableBuilder wtableBuilder(*this, wt);
2569
0 commit comments