mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-27 15:20:53 +00:00
8382931: Do fewer implicit narrowing conversions in deoptimization.hpp
Reviewed-by: dlong, mhaessig
This commit is contained in:
parent
1586790df5
commit
3f07e65787
@ -355,7 +355,7 @@ class Deoptimization : AllStatic {
|
||||
}
|
||||
static int trap_request_debug_id(int trap_request) {
|
||||
if (trap_request < 0) {
|
||||
return ((~(trap_request) >> _debug_id_shift) & right_n_bits(_debug_id_bits));
|
||||
return (~(trap_request) >> _debug_id_shift) & right_n_bits<int>(_debug_id_bits);
|
||||
} else {
|
||||
// standard action for unloaded CP entry
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user