Implement basic support for [weak].

Swift SVN r7041
This commit is contained in:
John McCall
2013-08-08 04:04:51 +00:00
parent 204980bdfd
commit 14cb7001b3
20 changed files with 887 additions and 110 deletions

View File

@@ -72,7 +72,9 @@ ABSTRACT_VALUE(SILInstruction, ValueBase)
// Accessing memory
INST(LoadInst, SILInstruction, None)
INST(LoadWeakInst, SILInstruction, None)
INST(StoreInst, SILInstruction, MayWrite)
INST(StoreWeakInst, SILInstruction, MayWrite)
INST(InitializeVarInst, SILInstruction, MayWrite)
INST(CopyAddrInst, SILInstruction, MayWrite)
INST(DestroyAddrInst, SILInstruction, MayHaveSideEffects)