Skip to content

Commit

Permalink
Fix Arm64 CFG dispatcher being always disabled
Browse files Browse the repository at this point in the history
Fix of a typo in dotnet#63763
  • Loading branch information
AustinWise committed Feb 9, 2022
1 parent e48b179 commit 9f9d81c
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 9f9d81c

Please sign in to comment.