8283789: CompilerPhaseTypeHelper::to_bitmask should operate on uint64_t
Reviewed-by: chagedorn, thartmann
This commit is contained in:
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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user