Skip to content

Commit

Permalink
Fix Arm64 CFG dispatcher being always disabled (#65095)
Browse files Browse the repository at this point in the history
Fix of a typo in #63763
  • Loading branch information
AustinWise committed Feb 9, 2022
1 parent 99452b2 commit 1f48351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/gentree.h
Original file line number Diff line number Diff line change
Expand Up @@ -4709,7 +4709,7 @@ struct GenTreeCall final : public GenTree
// are clobbered by the dispatch helper.
bool mayUseDispatcher = GetIndirectionCellArgKind() == NonStandardArgKind::None;
bool shouldUseDispatcher = true;
#elif defined(TARGET_AMD64)
#elif defined(TARGET_ARM64)
bool mayUseDispatcher = true;
// Branch predictors on ARM64 generally do not handle the dispatcher as
// well as on x64 hardware, so only use the validator by default.
Expand Down

0 comments on commit 1f48351

Please sign in to comment.