diff options
Diffstat (limited to 'tests/src/JIT/jit64/mcc/interop/mcc_i56.il')
-rw-r--r-- | tests/src/JIT/jit64/mcc/interop/mcc_i56.il | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/tests/src/JIT/jit64/mcc/interop/mcc_i56.il b/tests/src/JIT/jit64/mcc/interop/mcc_i56.il index c7a6e028d3..030806eeee 100644 --- a/tests/src/JIT/jit64/mcc/interop/mcc_i56.il +++ b/tests/src/JIT/jit64/mcc/interop/mcc_i56.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_i56.exe @@ -12,11 +14,11 @@ { .class MyClass { - .method assembly static pinvokeimpl("native_i5s" as "#1" stdcall) + .method assembly static pinvokeimpl("native_i5s" as "#1" stdcall) valuetype MCCTest.VType5 Sum(unsigned int64, valuetype MCCTest.VType5, float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, - int32, valuetype MCCTest.VType5, unsigned int16, valuetype MCCTest.VType5, unsigned int32, valuetype MCCTest.VType5, - float32, valuetype MCCTest.VType5, int64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, - float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, int16, valuetype MCCTest.VType5) cil managed preservesig { + int32, valuetype MCCTest.VType5, unsigned int16, valuetype MCCTest.VType5, unsigned int32, valuetype MCCTest.VType5, + float32, valuetype MCCTest.VType5, int64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, + float64, valuetype MCCTest.VType5, float32, valuetype MCCTest.VType5, int16, valuetype MCCTest.VType5) cil managed preservesig { } .method private valuetype MCCTest.VType5 GetSum() @@ -90,20 +92,20 @@ conv.i2 ldloc.s v12 tail. - call valuetype MCCTest.VType5 MCCTest.MyClass::Sum( unsigned int64, valuetype MCCTest.VType5, - float64, valuetype MCCTest.VType5, - float32, valuetype MCCTest.VType5, - int32, valuetype MCCTest.VType5, - unsigned int16, valuetype MCCTest.VType5, - unsigned int32, valuetype MCCTest.VType5, - float32, valuetype MCCTest.VType5, - int64, valuetype MCCTest.VType5, - float32, valuetype MCCTest.VType5, - float64, valuetype MCCTest.VType5, - float32, valuetype MCCTest.VType5, - int16, valuetype MCCTest.VType5) - ret - } + call valuetype MCCTest.VType5 MCCTest.MyClass::Sum( unsigned int64, valuetype MCCTest.VType5, + float64, valuetype MCCTest.VType5, + float32, valuetype MCCTest.VType5, + int32, valuetype MCCTest.VType5, + unsigned int16, valuetype MCCTest.VType5, + unsigned int32, valuetype MCCTest.VType5, + float32, valuetype MCCTest.VType5, + int64, valuetype MCCTest.VType5, + float32, valuetype MCCTest.VType5, + float64, valuetype MCCTest.VType5, + float32, valuetype MCCTest.VType5, + int16, valuetype MCCTest.VType5) + ret + } .method public specialname rtspecialname instance void .ctor() { @@ -122,10 +124,10 @@ [1] valuetype MCCTest.VType5 res, [2] int32 rc ) - + newobj instance void MCCTest.MyClass::.ctor() stloc.s me - + ldloc.s me call instance valuetype MCCTest.VType5 MCCTest.MyClass::GetSum() stloc.s res @@ -135,7 +137,7 @@ ldc.i4 12 call int32 MCCTest.Common::CheckResult(valuetype MCCTest.VType5, int32) stloc.s rc - + ldloc.s rc ret } // end of method MyClass::Main |