Skip to content

Commit c7ae606

Browse files
committed
---
yaml --- r: 273918 b: refs/heads/master-next c: 4d5a691 h: refs/heads/master
1 parent 37a6535 commit c7ae606

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: cbef630f19f869ab5279731179bd731f12b3b9d5
3-
refs/heads/master-next: a1b75cac54067a170f62bd29acc0e802e31bc2fc
3+
refs/heads/master-next: 4d5a691090596b527afca393f567423ba5d385b6
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/include/swift/SIL/TypeLowering.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -565,13 +565,6 @@ class TypeConverter {
565565

566566
llvm::BumpPtrAllocator IndependentBPA;
567567

568-
enum : unsigned {
569-
/// There is a unique entry with this uncurry level in the
570-
/// type-lowering map for every TLI we create. The map has the
571-
/// responsibility to call the destructor for these entries.
572-
UniqueLoweringEntry = ~0U
573-
};
574-
575568
struct CachingTypeKey {
576569
GenericSignature *Sig;
577570
AbstractionPattern::CachingKey OrigType;

branches/master-next/lib/SIL/TypeLowering.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,9 +1582,6 @@ TypeConverter::getTypeLoweringForLoweredType(TypeKey key,
15821582
assert(type->isLegalSILType() && "type is not lowered!");
15831583
(void)type;
15841584

1585-
// Re-using uncurry level 0 is reasonable because our uncurrying
1586-
// transforms are idempotent at this level. This means we don't
1587-
// need a ton of redundant entries in the map.
15881585
const TypeLowering *lowering = find(key);
15891586
if (!lowering) {
15901587
lowering = &getTypeLoweringForUncachedLoweredType(key);

0 commit comments

Comments
 (0)