Support for eliminated witness methods in SILWitnessTable.

A method entry in SILWitnessTable can now be null.
This will be needed by dead method elimination.



Swift SVN r22914
This commit is contained in:
Erik Eckstein
2014-10-24 16:26:12 +00:00
parent 6786969209
commit 60cb1a619a
12 changed files with 91 additions and 23 deletions

View File

@@ -51,7 +51,7 @@ const uint16_t VERSION_MAJOR = 0;
/// To ensure that two separate changes don't silently get merged into one
/// in source control, you should also update the comment to briefly
/// describe what change you made.
const uint16_t VERSION_MINOR = 156; // Last change: add fragile flag for witness tables
const uint16_t VERSION_MINOR = 157; // Last change: support nil in witness method entry
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;