Propagate a "let" flag from VarDecl into resulting SILGlobalVariables.

This flag is required for performing the propagation of global and static "let" values into their uses.
Let variables have now a [let] attribute in the SIL textual form.

Swift SVN r30153
This commit is contained in:
Roman Levenstein
2015-07-13 19:03:23 +00:00
parent 94e9535ede
commit d5650ae210
8 changed files with 33 additions and 9 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 = 204; // Last change: add ZeroPreservedResult
const uint16_t VERSION_MINOR = 205; // Last change: add isLet
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;