8197981: Missing return statement in __sync_val_compare_and_swap_8

Reviewed-by: andrew, dholmes
This commit is contained in:
Aleksey Shipilev 2020-10-20 05:26:59 +00:00
parent 5b51085c98
commit b65dcfa3a0
2 changed files with 2 additions and 1 deletions
src/hotspot/os_cpu

@ -435,6 +435,7 @@ extern "C" {
long long unsigned int oldval,
long long unsigned int newval) {
ShouldNotCallThis();
return 0; // silence compiler warnings
}
};
#endif // !_LP64

@ -479,7 +479,7 @@ extern "C" {
long long unsigned int oldval,
long long unsigned int newval) {
ShouldNotCallThis();
return 0; // silence compiler compiler warnings
return 0; // silence compiler warnings
}
};
#endif // !_LP64