diff options
Diffstat (limited to 'tests/src/JIT/jit64/mcc/interop/mcc_i02.il')
-rw-r--r-- | tests/src/JIT/jit64/mcc/interop/mcc_i02.il | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/tests/src/JIT/jit64/mcc/interop/mcc_i02.il b/tests/src/JIT/jit64/mcc/interop/mcc_i02.il index c7992778f4..0124823402 100644 --- a/tests/src/JIT/jit64/mcc/interop/mcc_i02.il +++ b/tests/src/JIT/jit64/mcc/interop/mcc_i02.il @@ -3,7 +3,9 @@ // See the LICENSE file in the project root for more information. -.assembly extern mscorlib {} +.assembly extern System.Runtime.Extensions { auto } +.assembly extern mscorlib { auto } + .assembly MCCTest {} .module mcc_i02.exe @@ -12,7 +14,7 @@ { .class MyClass { - .method assembly static pinvokeimpl("native_i0c" as "#1" cdecl) + .method assembly static pinvokeimpl("native_i0c" as "#1" cdecl) vararg valuetype MCCTest.VType0 Sum(unsigned int64) cil managed preservesig { } @@ -34,21 +36,21 @@ ldc.i8 1 neg tail. - call vararg valuetype MCCTest.VType0 MCCTest.MyClass::Sum(unsigned int64, ..., - unsigned int64, - unsigned int64, - unsigned int64, - unsigned int64, - unsigned int64, - unsigned int64, - unsigned int64, - unsigned int64, - unsigned int64, - unsigned int64, - unsigned int64, + call vararg valuetype MCCTest.VType0 MCCTest.MyClass::Sum(unsigned int64, ..., + unsigned int64, + unsigned int64, + unsigned int64, + unsigned int64, + unsigned int64, + unsigned int64, + unsigned int64, + unsigned int64, + unsigned int64, + unsigned int64, + unsigned int64, unsigned int64) - ret - } + ret + } .method public specialname rtspecialname instance void .ctor() { @@ -67,10 +69,10 @@ [1] valuetype MCCTest.VType0 res, [2] int32 rc ) - + newobj instance void MCCTest.MyClass::.ctor() stloc.s me - + ldloc.s me call instance valuetype MCCTest.VType0 MCCTest.MyClass::GetSum() stloc.s res @@ -80,7 +82,7 @@ ldc.i4 12 call int32 MCCTest.Common::CheckResult(valuetype MCCTest.VType0, int32) stloc.s rc - + ldloc.s rc ret } // end of method MyClass::Main |