Commits

Chris Lattner committed 2ab1f296646
Use emitRValueForDecl in various places that expect an RValue, and use emitReferenceToDecl when we expect an lvalue or rvalue. This makes the code more explicit and avoids duplicating the "emit a load if emitReferenceToDecl returned an lvalue" logic. Swift SVN r12603