8291952: riscv: Remove PRAGMA_NONNULL_IGNORED

Reviewed-by: yadongwang, shade
This commit is contained in:
Fei Yang 2022-08-05 07:51:05 +00:00
parent b0d6952811
commit 4c652d9eca

View File

@ -275,13 +275,11 @@ inline intptr_t* frame::interpreter_frame_expression_stack() const {
// Entry frames
inline JavaCallWrapper** frame::entry_frame_call_wrapper_addr() const {
return (JavaCallWrapper**)addr_at(entry_frame_call_wrapper_offset);
return (JavaCallWrapper**)addr_at(entry_frame_call_wrapper_offset);
}
// Compiled frames
PRAGMA_DIAG_PUSH
PRAGMA_NONNULL_IGNORED
inline oop frame::saved_oop_result(RegisterMap* map) const {
oop* result_adr = (oop *)map->location(x10->as_VMReg(), nullptr);
guarantee(result_adr != NULL, "bad register save location");
@ -293,7 +291,6 @@ inline void frame::set_saved_oop_result(RegisterMap* map, oop obj) {
guarantee(result_adr != NULL, "bad register save location");
*result_adr = obj;
}
PRAGMA_DIAG_POP
inline const ImmutableOopMap* frame::get_oop_map() const {
if (_cb == NULL) return NULL;