8345050: Fix -Wzero-as-null-pointer warning in MemPointer ctor

Reviewed-by: chagedorn, shade
This commit is contained in:
Kim Barrett 2024-11-27 06:43:05 +00:00
parent 08c1f44eef
commit 1f6144ef26

View File

@ -596,7 +596,7 @@ public:
if (_trace.is_trace_pointer()) {
tty->print_cr("MemPointer::MemPointer:");
tty->print("mem: "); mem->dump();
_mem->in(MemNode::Address)->dump_bfs(5, 0, "d");
_mem->in(MemNode::Address)->dump_bfs(5, nullptr, "d");
_decomposed_form.print_on(tty);
}
#endif