mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
more tidying:
- Strength reduce the interface to LogicalPathComponent::getMaterialized to now just return a SILValue for the address. The full "Materialize" structure hasn't been needed since MaterializeExpr got removed. - Move 'struct Materialize' out of SILGen.h into SILGenLValues.cpp now that it is only used for logical property materialization. - Drop the dead 'loc' argument on DeallocStackCleanup. The location is already specified when the cleanup is emitted. Swift SVN r12827
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
namespace swift {
|
||||
namespace Lowering {
|
||||
struct Materialize;
|
||||
|
||||
/// SGFContext - Internal context information for the SILGenFunction visitor.
|
||||
///
|
||||
@@ -865,8 +866,11 @@ public:
|
||||
void deallocateUninitializedLocalVariable(SILLocation L, VarDecl *D);
|
||||
|
||||
/// Enter a cleanup to deallocate a stack variable.
|
||||
CleanupHandle enterDeallocStackCleanup(SILLocation loc, SILValue address);
|
||||
CleanupHandle enterDeallocStackCleanup(SILValue address);
|
||||
|
||||
/// Enter a cleanup to emit a destroyValue/destroyAddr of the specified value.
|
||||
CleanupHandle enterDestroyCleanup(SILValue valueOrAddr);
|
||||
|
||||
/// Evaluate an Expr as an lvalue.
|
||||
LValue emitLValue(Expr *E);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user