[src] Remove dead classic/unified code. (#7999)
This commit is contained in:
Родитель
aead4cd408
Коммит
2f52c3fff8
|
@ -37,13 +37,6 @@ namespace ObjCRuntime
|
|||
{
|
||||
class Stret
|
||||
{
|
||||
#if BGENERATOR
|
||||
#elif __UNIFIED__
|
||||
const bool isUnified = true;
|
||||
#else
|
||||
const bool isUnified = false;
|
||||
#endif
|
||||
|
||||
static bool IsHomogeneousAggregateSmallEnough_Armv7k (Type t, int members)
|
||||
{
|
||||
// https://github.com/llvm-mirror/clang/blob/82f6d5c9ae84c04d6e7b402f72c33638d1fb6bc8/lib/CodeGen/TargetInfo.cpp#L5516-L5519
|
||||
|
|
|
@ -63,16 +63,8 @@ public class AttributeManager
|
|||
// Types (attributes) in the generator are mocked types from
|
||||
// either the binding assembly or the platform assembly.
|
||||
rv = TypeManager.BindingAssembly.GetType (type.FullName);
|
||||
if (rv == null) {
|
||||
string fullname;
|
||||
// HACK ??
|
||||
if (type.Namespace?.StartsWith ("XamCore.", System.StringComparison.Ordinal) == true) {
|
||||
fullname = type.FullName.Substring (8);
|
||||
} else {
|
||||
fullname = type.FullName;
|
||||
}
|
||||
rv = TypeManager.PlatformAssembly.GetType (fullname);
|
||||
}
|
||||
if (rv == null)
|
||||
rv = TypeManager.PlatformAssembly.GetType (type.FullName);
|
||||
} else {
|
||||
throw ErrorHelper.CreateError (1054, type.AssemblyQualifiedName);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче