File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -498,20 +498,11 @@ bool Compiler::fgForwardSubStatement(Statement* stmt)
498498 //
499499 GenTree* fwdSubNode = defNode->AsLclVarCommon ()->Data ();
500500
501- // Can't substitute GT_CATCH_ARG.
502- // Can't substitute GT_LCLHEAP.
501+ // Can't substitute GT_CATCH_ARG, GT_LCLHEAP or GT_ASYNC_CONTINUATION.
503502 //
504503 if (fwdSubNode->OperIs (GT_CATCH_ARG, GT_LCLHEAP, GT_ASYNC_CONTINUATION))
505504 {
506- JITDUMP (" tree to sub is catch arg, or lcl heap\n " );
507- return false ;
508- }
509-
510- // Don't substitute a no return call (trips up morph in some cases).
511- //
512- if (fwdSubNode->IsCall () && fwdSubNode->AsCall ()->IsNoReturn ())
513- {
514- JITDUMP (" tree to sub is a 'no return' call\n " );
505+ JITDUMP (" tree to sub is %s\n " , GenTree::OpName (fwdSubNode->OperGet ()));
515506 return false ;
516507 }
517508
You can’t perform that action at this time.
0 commit comments