File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1359,11 +1359,6 @@ TinyPtrVector<ValueDecl *> NominalTypeDecl::lookupDirect(
1359
1359
.NominalTypeDecl__lookupDirect .getGuard ();
1360
1360
}
1361
1361
1362
- DEBUG (llvm::dbgs () << getNameStr () << " .lookupDirect(" << name << " )"
1363
- << " , lookupTable.getInt()=" << LookupTable.getInt ()
1364
- << " , hasLazyMembers()=" << hasLazyMembers ()
1365
- << " \n " );
1366
-
1367
1362
// We only use NamedLazyMemberLoading when a user opts-in and we have
1368
1363
// not yet loaded all the members into the IDC list in the first place.
1369
1364
bool useNamedLazyMemberLoading = (ctx.LangOpts .NamedLazyMemberLoading &&
@@ -1376,6 +1371,12 @@ TinyPtrVector<ValueDecl *> NominalTypeDecl::lookupDirect(
1376
1371
if (name.getBaseName () == ctx.Id_init )
1377
1372
useNamedLazyMemberLoading = false ;
1378
1373
1374
+ DEBUG (llvm::dbgs () << getNameStr () << " .lookupDirect(" << name << " )"
1375
+ << " , lookupTable.getInt()=" << LookupTable.getInt ()
1376
+ << " , hasLazyMembers()=" << hasLazyMembers ()
1377
+ << " , useNamedLazyMemberLoading=" << useNamedLazyMemberLoading
1378
+ << " \n " );
1379
+
1379
1380
// We check the LookupTable at most twice, possibly treating a miss in the
1380
1381
// first try as a cache-miss that we then do a cache-fill on, and retry.
1381
1382
for (int i = 0 ; i < 2 ; ++i) {
You can’t perform that action at this time.
0 commit comments