mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -421,7 +421,7 @@ llvm::Constant *IRGenModule::getEmptyTupleMetadata() {
|
||||
return EmptyTupleMetadata;
|
||||
|
||||
return EmptyTupleMetadata =
|
||||
Module.getOrInsertGlobal("_TMdT_", FullTypeMetadataStructTy);
|
||||
Module.getOrInsertGlobal("_TMT_", FullTypeMetadataStructTy);
|
||||
}
|
||||
|
||||
llvm::Constant *IRGenModule::getObjCEmptyCachePtr() {
|
||||
|
||||
Reference in New Issue
Block a user