Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ILCompiler.TypeSystem/tests/TestMetadataFieldLayoutAlgorithm.cs')
-rw-r--r--src/ILCompiler.TypeSystem/tests/TestMetadataFieldLayoutAlgorithm.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ILCompiler.TypeSystem/tests/TestMetadataFieldLayoutAlgorithm.cs b/src/ILCompiler.TypeSystem/tests/TestMetadataFieldLayoutAlgorithm.cs
index a3dd93a22..ba96e1c7d 100644
--- a/src/ILCompiler.TypeSystem/tests/TestMetadataFieldLayoutAlgorithm.cs
+++ b/src/ILCompiler.TypeSystem/tests/TestMetadataFieldLayoutAlgorithm.cs
@@ -15,7 +15,7 @@ namespace TypeSystemTests
{
// GC statics start with a pointer to the "EEType" that signals the size and GCDesc to the GC
layout.GcStatics.Size = context.Target.LayoutPointerSize;
- layout.ThreadStatics.Size = context.Target.LayoutPointerSize;
+ layout.ThreadGcStatics.Size = context.Target.LayoutPointerSize;
}
protected override void FinalizeRuntimeSpecificStaticFieldLayout(TypeSystemContext context, ref ComputedStaticFieldLayout layout)
@@ -26,9 +26,9 @@ namespace TypeSystemTests
{
layout.GcStatics.Size = LayoutInt.Zero;
}
- if (layout.ThreadStatics.Size == context.Target.LayoutPointerSize)
+ if (layout.ThreadGcStatics.Size == context.Target.LayoutPointerSize)
{
- layout.ThreadStatics.Size = LayoutInt.Zero;
+ layout.ThreadGcStatics.Size = LayoutInt.Zero;
}
}
}