Increase the max number of possible @_specialize attributes for a SILFunction

The number was limited to 3 attributes for some reason. Now a SILFunction may have up to 2^16 such attributes, which should be enough for a while ;-)

Fixes rdar://problem/34026325
This commit is contained in:
Roman Levenstein
2017-08-22 20:40:03 -07:00
parent 5332a65188
commit 05d0700c25
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ const uint16_t VERSION_MAJOR = 0;
/// in source control, you should also update the comment to briefly
/// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format.
const uint16_t VERSION_MINOR = 357; // Last change: UnconditionalCheckedCastAddr.
const uint16_t VERSION_MINOR = 358; // Last change: Increase the max number of possible @_specialize attribiutes.
using DeclID = PointerEmbeddedInt<unsigned, 31>;
using DeclIDField = BCFixed<31>;