Don't mangle directness into type metadata symbols.

Anywhere we can't directly address type metadata in Swift, we've found we need a function call. Directness isn't useful here.

Swift SVN r32626
This commit is contained in:
Joe Groff
2015-10-12 17:22:40 +00:00
parent b7bc622f63
commit 42c71b7972
51 changed files with 214 additions and 259 deletions

View File

@@ -421,7 +421,7 @@ llvm::Constant *IRGenModule::getEmptyTupleMetadata() {
return EmptyTupleMetadata;
return EmptyTupleMetadata =
Module.getOrInsertGlobal("_TMdT_", FullTypeMetadataStructTy);
Module.getOrInsertGlobal("_TMT_", FullTypeMetadataStructTy);
}
llvm::Constant *IRGenModule::getObjCEmptyCachePtr() {