Revert "Make sure that we do not try to create shared versions of stdlib_binary_only functions when specializing."

This reverts commit r26001; it broke validation-tests/stdlib/String.swift

Swift SVN r26005
This commit is contained in:
Dave Abrahams
2015-03-12 00:52:38 +00:00
parent 5549775677
commit e88572391e
5 changed files with 6 additions and 34 deletions

View File

@@ -147,7 +147,7 @@ void dumpTypeSubstitutionMap(const TypeSubstitutionMap &map) {
/// Check if we can clone and remap types this function.
static bool canSpecializeFunction(SILFunction *F) {
return !F->isExternalDeclaration() && F->canHaveSharedLinkage();
return !F->isExternalDeclaration();
}
bool