8283789: CompilerPhaseTypeHelper::to_bitmask should operate on uint64_t

Reviewed-by: chagedorn, thartmann
This commit is contained in:
Aleksey Shipilev 2022-03-30 07:11:59 +00:00
parent 9bb916db0a
commit 8b656117dd

@ -97,8 +97,8 @@ class CompilerPhaseTypeHelper {
static const char* to_description(CompilerPhaseType cpt) {
return phase_descriptions[cpt];
}
static int to_bitmask(CompilerPhaseType cpt) {
return (1 << cpt);
static uint64_t to_bitmask(CompilerPhaseType cpt) {
return (UINT64_C(1) << cpt);
}
};