8265688: Unused ciMethodType::ptype_at should be removed

Reviewed-by: thartmann, kvn
This commit is contained in:
Damon Fenacci 2022-12-19 08:35:00 +00:00 committed by Tobias Hartmann
parent 3637660521
commit 16225630ec
2 changed files with 3 additions and 12 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, 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
@ -52,10 +52,3 @@ int ciMethodType::ptype_count() const {
int ciMethodType::ptype_slot_count() const {
GUARDED_VM_ENTRY(return java_lang_invoke_MethodType::ptype_slot_count(get_oop());)
}
ciType* ciMethodType::ptype_at(int index) const {
GUARDED_VM_ENTRY(
oop ptype = java_lang_invoke_MethodType::ptype(get_oop(), index);
return class_to_citype(ptype);
)
}

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2022, 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
@ -43,9 +43,7 @@ public:
ciType* rtype() const;
int ptype_count() const;
int ptype_slot_count() const ;
ciType* ptype_at(int index) const;
int ptype_slot_count() const;
};
#endif // SHARE_CI_CIMETHODTYPE_HPP