Skip to content

Commit a2b94d3

Browse files
Map CORINFO_HELP_THROWEXACT to THROW (#121579)
This is temporary. It will not do the right thing wrt exception stack at runtime, but it's better than crashing at compile time (which is what it does now). Not filing a bug on this; we either fix this before we start running the tests or hit it during test async bringup (I assume there's a test) and then ActiveIssue it as needed.
1 parent 824a87f commit a2b94d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/coreclr/tools/aot/ILCompiler.RyuJit/JitInterface/CorInfoImpl.RyuJit.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ private ISymbolNode GetHelperFtnUncached(CorInfoHelpFunc ftnNum)
466466
switch (ftnNum)
467467
{
468468
case CorInfoHelpFunc.CORINFO_HELP_THROW:
469+
case CorInfoHelpFunc.CORINFO_HELP_THROWEXACT: // TODO: (async): THROWEXACT
469470
id = ReadyToRunHelper.Throw;
470471
break;
471472
case CorInfoHelpFunc.CORINFO_HELP_RETHROW:

0 commit comments

Comments
 (0)