Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Ignore slow tail calls instead failing the compilation for them#8252

Merged
jkotas merged 1 commit intodotnet:masterfrom
jkotas:tailcallhelpers
Aug 4, 2020
Merged

Ignore slow tail calls instead failing the compilation for them#8252
jkotas merged 1 commit intodotnet:masterfrom
jkotas:tailcallhelpers

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Aug 4, 2020

Fixes #8251

@jkotas
Copy link
Member Author

jkotas commented Aug 4, 2020

This restores CoreRT behavior to what it was before #8122

{
// Slow tailcalls are not supported yet
// https://github.com/dotnet/runtime/issues/35423
#if READYTORUN
Copy link
Member

Choose a reason for hiding this comment

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

Interesting - if this is reachable in READYTORUN, throwing a NotImplemented here tears down the process because only some specific exceptions are catchable/recoverable (type system exceptions or RequiresRuntimeJitException).

Copy link
Member Author

Choose a reason for hiding this comment

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

cc @trylek Do we see crossgen2 tests failing on this? We may want to change this to RequiresRuntimeJitException.

@jkotas jkotas merged commit 96b05f7 into dotnet:master Aug 4, 2020
@jkotas jkotas deleted the tailcallhelpers branch August 4, 2020 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code generation failed for method '[FSharp.Core]Microsoft.FSharp.Core.OptimizedClosures' after updating

2 participants