8322927: Unused code in LIR_Assembler::verify_oop_map

Reviewed-by: tholenstein, chagedorn
This commit is contained in:
Koichi Sakata 2024-02-09 04:49:37 +00:00
parent 9936aeea32
commit b797652209

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -841,8 +841,6 @@ void LIR_Assembler::verify_oop_map(CodeEmitInfo* info) {
if (v.is_oop()) {
VMReg r = v.reg();
if (!r->is_stack()) {
stringStream st;
st.print("bad oop %s at %d", r->as_Register()->name(), _masm->offset());
_masm->verify_oop(r->as_Register());
} else {
_masm->verify_stack_oop(r->reg2stack() * VMRegImpl::stack_slot_size);