mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-21 10:57:56 +00:00
8265688: Unused ciMethodType::ptype_at should be removed
Reviewed-by: thartmann, kvn
This commit is contained in:
parent
3637660521
commit
16225630ec
@ -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);
|
||||
)
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user