Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i00.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.assembly extern System.Runtime.Extensions { auto }
.assembly extern xunit.core {}
.assembly extern mscorlib { auto }
.assembly extern TestLibrary {}

.assembly 'mcc_i00' {}

Expand All @@ -23,6 +24,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] valuetype MCCTest.VType0 res,
Expand Down Expand Up @@ -67,7 +81,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/jit64/mcc/interop/mcc_i00.ilproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Compile Include="mcc_i00.il ..\common\common.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
<CMakeProjectReference Include="CMakeLists.txt" />
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i01.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.assembly extern System.Runtime.Extensions { auto }
.assembly extern xunit.core {}
.assembly extern mscorlib { auto }
.assembly extern TestLibrary {}

.assembly 'mcc_i01' {}

Expand All @@ -23,6 +24,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] valuetype MCCTest.VType0 res,
Expand Down Expand Up @@ -67,7 +81,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/jit64/mcc/interop/mcc_i01.ilproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Compile Include="mcc_i01.il ..\common\common.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
<CMakeProjectReference Include="CMakeLists.txt" />
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i02.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.assembly extern System.Runtime.Extensions { auto }
.assembly extern xunit.core {}
.assembly extern mscorlib { auto }
.assembly extern TestLibrary {}

.assembly 'mcc_i02' {}

Expand Down Expand Up @@ -65,6 +66,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] class MCCTest.MyClass me,
Expand All @@ -87,7 +101,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/jit64/mcc/interop/mcc_i02.ilproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Compile Include="mcc_i02.il ..\common\common.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
<CMakeProjectReference Include="CMakeLists.txt" />
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i03.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.assembly extern System.Runtime.Extensions { auto }
.assembly extern xunit.core {}
.assembly extern mscorlib { auto }
.assembly extern TestLibrary {}

.assembly 'mcc_i03' {}

Expand Down Expand Up @@ -69,6 +70,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] class MCCTest.MyClass me,
Expand All @@ -91,7 +105,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/jit64/mcc/interop/mcc_i03.ilproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Compile Include="mcc_i03.il ..\common\common.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
<CMakeProjectReference Include="CMakeLists.txt" />
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i04.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.assembly extern System.Runtime.Extensions { auto }
.assembly extern xunit.core {}
.assembly extern mscorlib { auto }
.assembly extern TestLibrary {}

.assembly 'mcc_i04' {}

Expand All @@ -23,6 +24,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] valuetype MCCTest.VType0 res,
Expand Down Expand Up @@ -64,7 +78,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/jit64/mcc/interop/mcc_i04.ilproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Compile Include="mcc_i04.il ..\common\common.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
<CMakeProjectReference Include="CMakeLists.txt" />
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i05.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.assembly extern System.Runtime.Extensions { auto }
.assembly extern xunit.core {}
.assembly extern mscorlib { auto }
.assembly extern TestLibrary {}

.assembly 'mcc_i05' {}

Expand All @@ -23,6 +24,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] valuetype MCCTest.VType0 res,
Expand Down Expand Up @@ -64,7 +78,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/jit64/mcc/interop/mcc_i05.ilproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Compile Include="mcc_i05.il ..\common\common.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
<CMakeProjectReference Include="CMakeLists.txt" />
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i06.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.assembly extern System.Runtime.Extensions { auto }
.assembly extern xunit.core {}
.assembly extern mscorlib { auto }
.assembly extern TestLibrary {}

.assembly 'mcc_i06' {}

Expand Down Expand Up @@ -62,6 +63,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] class MCCTest.MyClass me,
Expand All @@ -84,7 +98,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/jit64/mcc/interop/mcc_i06.ilproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<Compile Include="mcc_i06.il ..\common\common.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
<CMakeProjectReference Include="CMakeLists.txt" />
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i07.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.assembly extern System.Runtime.Extensions { auto }
.assembly extern xunit.core {}
.assembly extern mscorlib { auto }
.assembly extern TestLibrary {}

.assembly 'mcc_i07' {}

Expand Down Expand Up @@ -66,6 +67,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] class MCCTest.MyClass me,
Expand All @@ -88,7 +102,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
1 change: 1 addition & 0 deletions src/tests/JIT/jit64/mcc/interop/mcc_i07.ilproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<Compile Include="mcc_i07.il ..\common\common.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
<CMakeProjectReference Include="CMakeLists.txt" />
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion src/tests/JIT/jit64/mcc/interop/mcc_i10.il
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

.assembly extern mscorlib {}
.assembly extern xunit.core {}
.assembly extern TestLibrary {}
.assembly 'mcc_i10' {}


Expand All @@ -21,6 +22,19 @@
01 00 00 00
)
.entrypoint
.maxstack 1
call bool [TestLibrary]TestLibrary.PlatformDetection::get_IsWindows()
brtrue.s DoTest
ldc.i4 100
ret

DoTest:
call int32 MCCTest.MyClass::Test()
ret
}

.method public static int32 Test()
{
.maxstack 64
.locals init (
[0] valuetype MCCTest.VType1 res,
Expand Down Expand Up @@ -65,7 +79,7 @@

ldloc.s rc
ret
} // end of method MyClass::Main
} // end of method MyClass::Test

} // end of class MyClass

Expand Down
Loading