forked from OSchip/llvm-project
parent
ada9fa1ca9
commit
6d1178ca40
|
@ -1095,7 +1095,8 @@ void CodeGenModule::EmitDeferred() {
|
|||
}
|
||||
|
||||
// Stop if we're out of both deferred v-tables and deferred declarations.
|
||||
if (DeferredDeclsToEmit.empty()) break;
|
||||
if (DeferredDeclsToEmit.empty())
|
||||
break;
|
||||
|
||||
DeferredGlobal &G = DeferredDeclsToEmit.back();
|
||||
GlobalDecl D = G.GD;
|
||||
|
@ -1106,7 +1107,6 @@ void CodeGenModule::EmitDeferred() {
|
|||
if (!GV)
|
||||
GV = GetGlobalValue(getMangledName(D));
|
||||
|
||||
|
||||
// Check to see if we've already emitted this. This is necessary
|
||||
// for a couple of reasons: first, decls can end up in the
|
||||
// deferred-decls queue multiple times, and second, decls can end
|
||||
|
|
Loading…
Reference in New Issue