diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-03-08 06:09:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-08 06:09:03 -0800 |
commit | 5e03df42d9fb2fe05a4246695128ddfb6e9ca7fd (patch) | |
tree | fa70a69b3489bc3164178edd376b4683123ebbec /src/vm/ecall.cpp | |
parent | 5928c09ddc7ff9fb998ba3cae53db8d6d8c56b02 (diff) | |
download | coreclr-5e03df42d9fb2fe05a4246695128ddfb6e9ca7fd.tar.gz coreclr-5e03df42d9fb2fe05a4246695128ddfb6e9ca7fd.tar.bz2 coreclr-5e03df42d9fb2fe05a4246695128ddfb6e9ca7fd.zip |
Move String to shared corelib partition (#16749)
Diffstat (limited to 'src/vm/ecall.cpp')
-rw-r--r-- | src/vm/ecall.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vm/ecall.cpp b/src/vm/ecall.cpp index 6f5f11b894..dacec45787 100644 --- a/src/vm/ecall.cpp +++ b/src/vm/ecall.cpp @@ -37,6 +37,9 @@ static_assert_no_msg(METHOD__STRING__CTORF_FIRST + 2 == METHOD__STRING__CTORF_CH static_assert_no_msg(METHOD__STRING__CTORF_FIRST + 3 == METHOD__STRING__CTORF_CHARPTR); static_assert_no_msg(METHOD__STRING__CTORF_FIRST + 4 == METHOD__STRING__CTORF_CHARPTR_START_LEN); static_assert_no_msg(METHOD__STRING__CTORF_FIRST + 5 == METHOD__STRING__CTORF_READONLYSPANOFCHAR); +static_assert_no_msg(METHOD__STRING__CTORF_FIRST + 6 == METHOD__STRING__CTORF_SBYTEPTR); +static_assert_no_msg(METHOD__STRING__CTORF_FIRST + 7 == METHOD__STRING__CTORF_SBYTEPTR_START_LEN); +static_assert_no_msg(METHOD__STRING__CTORF_FIRST + 8 == METHOD__STRING__CTORF_SBYTEPTR_START_LEN_ENCODING); // ECall::CtorCharXxx has to be in same order as METHOD__STRING__CTORF_XXX #define ECallCtor_First ECall::CtorCharArrayManaged @@ -46,8 +49,11 @@ static_assert_no_msg(ECallCtor_First + 2 == ECall::CtorCharCountManaged); static_assert_no_msg(ECallCtor_First + 3 == ECall::CtorCharPtrManaged); static_assert_no_msg(ECallCtor_First + 4 == ECall::CtorCharPtrStartLengthManaged); static_assert_no_msg(ECallCtor_First + 5 == ECall::CtorReadOnlySpanOfCharManaged); +static_assert_no_msg(ECallCtor_First + 6 == ECall::CtorSBytePtrManaged); +static_assert_no_msg(ECallCtor_First + 7 == ECall::CtorSBytePtrStartLengthManaged); +static_assert_no_msg(ECallCtor_First + 8 == ECall::CtorSBytePtrStartLengthEncodingManaged); -#define NumberOfStringConstructors 6 +#define NumberOfStringConstructors 9 void ECall::PopulateManagedStringConstructors() { |