Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit009ef4a

Browse files
committed
FX_NO_GET_HASH_CODE_HELPER --- dead code removal
1 parentb0a4cad commit009ef4a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎src/fsharp/FSharp.Core/prim-types.fs‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -770,12 +770,8 @@ namespace Microsoft.FSharp.Core
770770
PhysicalEqualityIntrinsic x y
771771

772772
letPhysicalHashIntrinsic(x:'T):int when 'T:not struct=
773-
#if FX_NO_GET_HASH_CODE_HELPER
774-
(box x).GetHashCode()
775-
#else
776773
System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(box x)
777-
#endif
778-
774+
779775
let inlinePhysicalHashFast(x:'T)=
780776
PhysicalHashIntrinsic x
781777

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp