Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Add Unsafe.IsAddressGreaterThan / IsAddressLessThan #15988

Merged
merged 1 commit into from Jan 24, 2018

Conversation

GrabYourPitchforks
Copy link
Member

@GrabYourPitchforks GrabYourPitchforks commented Jan 23, 2018

This is one half of a two-part change. The corefx PR which includes devdoc and unit tests is at (dotnet/corefx#26554).
See https://github.com/dotnet/corefx/issues/26451 for more details.

/cc @jkotas @stephentoub @ahsonkhan

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@ahsonkhan ahsonkhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

/// </remarks>
[Intrinsic]
[NonVersionable]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Aggressive inlining necessary or just there for good measure?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the same pattern used by the other methods on the type - I assume for good measure?

@jkotas jkotas merged commit 0bafdbc into dotnet:master Jan 24, 2018
dotnet-bot pushed a commit to dotnet/corert that referenced this pull request Jan 24, 2018
…5988)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
dotnet-bot pushed a commit to dotnet/corefx that referenced this pull request Jan 24, 2018
…5988)

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
jkotas pushed a commit to dotnet/corefx that referenced this pull request Jan 24, 2018
…5988)

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
jkotas pushed a commit to dotnet/corert that referenced this pull request Jan 24, 2018
…5988)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
@GrabYourPitchforks GrabYourPitchforks deleted the levib/is_below branch January 29, 2018 02:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants