File tree Expand file tree Collapse file tree 3 files changed +10
-41
lines changed Expand file tree Collapse file tree 3 files changed +10
-41
lines changed Original file line number Diff line number Diff line change @@ -597,8 +597,8 @@ static const CLR_RT_MethodHandler method_lookup[] =
597
597
NULL ,
598
598
NULL ,
599
599
Library_corlib_native_System_MathInternal::Abs___STATIC__I4__I4,
600
- Library_corlib_native_System_MathInternal::Min___STATIC__I4__I4__I4 ,
601
- Library_corlib_native_System_MathInternal::Max___STATIC__I4__I4__I4 ,
600
+ NULL ,
601
+ NULL ,
602
602
NULL ,
603
603
NULL ,
604
604
Library_corlib_native_System_MulticastDelegate::op_Equality___STATIC__BOOLEAN__SystemMulticastDelegate__SystemMulticastDelegate,
@@ -1320,8 +1320,8 @@ static const CLR_RT_MethodHandler method_lookup[] =
1320
1320
NULL ,
1321
1321
NULL ,
1322
1322
Library_corlib_native_System_MathInternal::Abs___STATIC__I4__I4,
1323
- Library_corlib_native_System_MathInternal::Min___STATIC__I4__I4__I4 ,
1324
- Library_corlib_native_System_MathInternal::Max___STATIC__I4__I4__I4 ,
1323
+ NULL ,
1324
+ NULL ,
1325
1325
NULL ,
1326
1326
NULL ,
1327
1327
Library_corlib_native_System_MulticastDelegate::op_Equality___STATIC__BOOLEAN__SystemMulticastDelegate__SystemMulticastDelegate,
@@ -1483,18 +1483,18 @@ const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_mscorlib =
1483
1483
1484
1484
#if (NANOCLR_REFLECTION == TRUE)
1485
1485
1486
- 0xCCE8376E ,
1486
+ 0x445C7AF9 ,
1487
1487
1488
1488
#elif (NANOCLR_REFLECTION == FALSE)
1489
1489
1490
- 0xF60D1B13 ,
1490
+ 0xE3A4B52F ,
1491
1491
1492
1492
#else
1493
1493
#error "NANOCLR_REFLECTION has to be define either TRUE or FALSE. Check the build options."
1494
1494
#endif
1495
1495
1496
1496
method_lookup,
1497
- { 100 , 5 , 0 , 18 }
1497
+ { 100 , 5 , 0 , 19 }
1498
1498
};
1499
1499
1500
1500
// clang-format on
Original file line number Diff line number Diff line change @@ -653,8 +653,6 @@ struct Library_corlib_native_System_Guid
653
653
struct Library_corlib_native_System_MathInternal
654
654
{
655
655
NANOCLR_NATIVE_DECLARE (Abs___STATIC__I4__I4 );
656
- NANOCLR_NATIVE_DECLARE (Min___STATIC__I4__I4__I4 );
657
- NANOCLR_NATIVE_DECLARE (Max___STATIC__I4__I4__I4 );
658
656
659
657
//--//
660
658
};
Original file line number Diff line number Diff line change 5
5
//
6
6
#include " CorLib.h"
7
7
8
- HRESULT Library_corlib_native_System_MathInternal::Abs___STATIC__I4__I4 ( CLR_RT_StackFrame& stack )
8
+ HRESULT Library_corlib_native_System_MathInternal::Abs___STATIC__I4__I4 (CLR_RT_StackFrame & stack)
9
9
{
10
10
NATIVE_PROFILE_CLR_CORE ();
11
11
NANOCLR_HEADER ();
12
12
13
13
CLR_INT32 d = stack.Arg0 ().NumericByRefConst ().s4 ;
14
- CLR_INT32 res = abs ( d );
14
+ CLR_INT32 res = abs (d );
15
15
16
- stack.SetResult_I4 ( res );
16
+ stack.SetResult_I4 (res);
17
17
18
18
NANOCLR_NOCLEANUP_NOLABEL ();
19
19
}
20
-
21
- HRESULT Library_corlib_native_System_MathInternal::Max___STATIC__I4__I4__I4 ( CLR_RT_StackFrame& stack )
22
- {
23
- NATIVE_PROFILE_CLR_CORE ();
24
- NANOCLR_HEADER ();
25
-
26
- CLR_INT32 x = stack.Arg0 ().NumericByRefConst ().s4 ;
27
- CLR_INT32 y = stack.Arg1 ().NumericByRefConst ().s4 ;
28
- CLR_INT32 res = x >= y ? x : y;
29
-
30
- stack.SetResult_I4 ( res );
31
-
32
- NANOCLR_NOCLEANUP_NOLABEL ();
33
- }
34
-
35
- HRESULT Library_corlib_native_System_MathInternal::Min___STATIC__I4__I4__I4 ( CLR_RT_StackFrame& stack )
36
- {
37
- NATIVE_PROFILE_CLR_CORE ();
38
- NANOCLR_HEADER ();
39
-
40
- CLR_INT32 x = stack.Arg0 ().NumericByRefConst ().s4 ;
41
- CLR_INT32 y = stack.Arg1 ().NumericByRefConst ().s4 ;
42
- CLR_INT32 res = x <= y ? x : y;
43
-
44
- stack.SetResult_I4 ( res );
45
-
46
- NANOCLR_NOCLEANUP_NOLABEL ();
47
- }
48
-
You can’t perform that action at this time.
0 commit comments