diff options
Diffstat (limited to 'tests/src/JIT/jit64/mcc/interop/mcc_i85.il')
-rw-r--r-- | tests/src/JIT/jit64/mcc/interop/mcc_i85.il | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/tests/src/JIT/jit64/mcc/interop/mcc_i85.il b/tests/src/JIT/jit64/mcc/interop/mcc_i85.il index cb67804cd1..b081b75c60 100644 --- a/tests/src/JIT/jit64/mcc/interop/mcc_i85.il +++ b/tests/src/JIT/jit64/mcc/interop/mcc_i85.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_i85.exe @@ -12,11 +14,11 @@ { .class MyClass { - .method assembly static pinvokeimpl("native_i8s" as "#1" stdcall) + .method assembly static pinvokeimpl("native_i8s" as "#1" stdcall) valuetype MCCTest.VType8 Sum(unsigned int64, valuetype MCCTest.VType8, float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, - int32, valuetype MCCTest.VType8, unsigned int16, valuetype MCCTest.VType8, unsigned int32, valuetype MCCTest.VType8, - float32, valuetype MCCTest.VType8, int64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, - float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, int16, valuetype MCCTest.VType8) cil managed preservesig { + int32, valuetype MCCTest.VType8, unsigned int16, valuetype MCCTest.VType8, unsigned int32, valuetype MCCTest.VType8, + float32, valuetype MCCTest.VType8, int64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, + float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, int16, valuetype MCCTest.VType8) cil managed preservesig { } .method private static int32 Main(string[] args) @@ -39,7 +41,7 @@ [12] valuetype MCCTest.VType8 v12, [13] int32 rc ) - + // Initialize v1 thru v12 ldloca.s v1 call instance void MCCTest.VType8::Init() @@ -65,7 +67,7 @@ call instance void MCCTest.VType8::Init() ldloca.s v12 call instance void MCCTest.VType8::Init() - + ldc.i8 1 ldloc.s v1 ldc.r8 2 @@ -93,21 +95,21 @@ conv.i2 ldloc.s v12 ldftn valuetype MCCTest.VType8 MCCTest.MyClass::Sum(unsigned int64, valuetype MCCTest.VType8, float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, - int32, valuetype MCCTest.VType8, unsigned int16, valuetype MCCTest.VType8, unsigned int32, valuetype MCCTest.VType8, - float32, valuetype MCCTest.VType8, int64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, - float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, int16, valuetype MCCTest.VType8) - calli valuetype MCCTest.VType8( unsigned int64, valuetype MCCTest.VType8, - float64, valuetype MCCTest.VType8, - float32, valuetype MCCTest.VType8, - int32, valuetype MCCTest.VType8, - unsigned int16, valuetype MCCTest.VType8, - unsigned int32, valuetype MCCTest.VType8, - float32, valuetype MCCTest.VType8, - int64, valuetype MCCTest.VType8, - float32, valuetype MCCTest.VType8, - float64, valuetype MCCTest.VType8, - float32, valuetype MCCTest.VType8, - int16, valuetype MCCTest.VType8) + int32, valuetype MCCTest.VType8, unsigned int16, valuetype MCCTest.VType8, unsigned int32, valuetype MCCTest.VType8, + float32, valuetype MCCTest.VType8, int64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, + float64, valuetype MCCTest.VType8, float32, valuetype MCCTest.VType8, int16, valuetype MCCTest.VType8) + calli valuetype MCCTest.VType8( unsigned int64, valuetype MCCTest.VType8, + float64, valuetype MCCTest.VType8, + float32, valuetype MCCTest.VType8, + int32, valuetype MCCTest.VType8, + unsigned int16, valuetype MCCTest.VType8, + unsigned int32, valuetype MCCTest.VType8, + float32, valuetype MCCTest.VType8, + int64, valuetype MCCTest.VType8, + float32, valuetype MCCTest.VType8, + float64, valuetype MCCTest.VType8, + float32, valuetype MCCTest.VType8, + int16, valuetype MCCTest.VType8) stloc.s res @@ -116,7 +118,7 @@ ldc.i4 12 call int32 MCCTest.Common::CheckResult(valuetype MCCTest.VType8, int32) stloc.s rc - + ldloc.s rc ret } // end of method MyClass::Main |