Skip to content

Commit

Permalink
Fix a build break (#60222)
Browse files Browse the repository at this point in the history
The other casts around gtReturnType should be cleaned
up as well, but that is left for another day.
  • Loading branch information
SingleAccretion authored Oct 9, 2021
1 parent 9381777 commit 2e8615b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ GenTree* Compiler::fgMorphIntoHelperCall(GenTree* tree, int helper, GenTreeCall:

GenTreeCall* call = tree->AsCall();
call->gtCallType = CT_HELPER;
call->gtReturnType = static_cast<unsigned char>(tree->TypeGet());
call->gtReturnType = tree->TypeGet();
call->gtCallMethHnd = eeFindHelper(helper);
call->gtCallThisArg = nullptr;
call->gtCallArgs = args;
Expand Down

0 comments on commit 2e8615b

Please sign in to comment.