summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_dbgu_fld.ilproj3
-rw-r--r--tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_relu_fld.ilproj2
-rw-r--r--tests/src/JIT/Methodical/ELEMENT_TYPE_IU/u_fld.il7
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_dbgu_fld.ilproj b/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_dbgu_fld.ilproj
index b727f39ea3..e4cfb9f7bf 100644
--- a/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_dbgu_fld.ilproj
+++ b/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_dbgu_fld.ilproj
@@ -10,9 +10,6 @@
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-
- <!-- Test currently fails under GCStress. https://github.com/dotnet/coreclr/issues/24173 -->
- <GCStressIncompatible>true</GCStressIncompatible>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
diff --git a/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_relu_fld.ilproj b/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_relu_fld.ilproj
index f58d18ac0a..266aaf5246 100644
--- a/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_relu_fld.ilproj
+++ b/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/_il_relu_fld.ilproj
@@ -10,8 +10,6 @@
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <!-- https://github.com/dotnet/coreclr/issues/24464 -->
- <GCStressIncompatible>true</GCStressIncompatible>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
diff --git a/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/u_fld.il b/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/u_fld.il
index 4accb540a8..d93ee0f41b 100644
--- a/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/u_fld.il
+++ b/tests/src/JIT/Methodical/ELEMENT_TYPE_IU/u_fld.il
@@ -25,10 +25,15 @@
{
.entrypoint
.maxstack 8
- .locals (class Test.AA pinned, native unsigned int[0...], native unsigned int, int32)
+ .locals (class Test.AA pinned, native unsigned int[0...], native unsigned int, int32, native unsigned int[0...] pinned)
newobj instance void Test.AA::.ctor()
stloc.0
+ // test bug fix: make sure to pin Test.AA::m_ai
+ ldloc.0
+ ldfld native unsigned int[0...] Test.AA::m_ai
+ stloc 4
+
ldc.i4 18
stloc.2