File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -342,10 +342,6 @@ class LValue {
342
342
AbstractionPattern origFormalType,
343
343
CanType substFormalType);
344
344
345
- // / Form a class-reference l-value. Only suitable as the base of
346
- // / very specific member components.
347
- static LValue forClassReference (ManagedValue reference);
348
-
349
345
bool isValid () const { return !Path.empty (); }
350
346
351
347
// / Is this lvalue purely physical?
Original file line number Diff line number Diff line change @@ -1438,21 +1438,6 @@ LValue LValue::forAddress(ManagedValue address,
1438
1438
return lv;
1439
1439
}
1440
1440
1441
- LValue LValue::forClassReference (ManagedValue ref) {
1442
- assert (ref.isPlusZeroRValueOrTrivial ());
1443
- assert (ref.getType ().isObject ());
1444
- assert (ref.getType ().getSwiftRValueType ()->mayHaveSuperclass ());
1445
-
1446
- CanType classType = ref.getType ().getSwiftRValueType ();
1447
- LValueTypeData typeData = {
1448
- AbstractionPattern (classType), classType, ref.getType ()
1449
- };
1450
-
1451
- LValue lv;
1452
- lv.add <ValueComponent>(ref, typeData);
1453
- return lv;
1454
- }
1455
-
1456
1441
void LValue::addMemberComponent (SILGenFunction &gen, SILLocation loc,
1457
1442
AbstractStorageDecl *storage,
1458
1443
ArrayRef<Substitution> subs,
You can’t perform that action at this time.
0 commit comments