GlobalAlias::isDeclaration is always false. Remove dead code.

llvm-svn: 196727
This commit is contained in:
Rafael Espindola
2013-12-08 17:19:18 +00:00
parent e0a34ee66e
commit b80bacc89a

View File

@@ -1020,11 +1020,6 @@ void CodeGenModule::EmitDeferred() {
if (!CGRef->isDeclaration())
continue;
// GlobalAlias::isDeclaration() defers to the aliasee, but for our
// purposes an alias counts as a definition.
if (isa<llvm::GlobalAlias>(CGRef))
continue;
// Otherwise, emit the definition and move on to the next one.
EmitGlobalDefinition(D);
}