mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8232881: Remove unnecessary InstanceKlass::casts
Reviewed-by: coleenp
This commit is contained in:
parent
bbc4e0d999
commit
36ac846d35
6 changed files with 14 additions and 14 deletions
|
@ -146,7 +146,7 @@ class HierarchyVisitor : StackObj {
|
|||
return interface_index() >= number_of_interfaces();
|
||||
}
|
||||
InstanceKlass* interface_at(int index) {
|
||||
return InstanceKlass::cast(_class->local_interfaces()->at(index));
|
||||
return _class->local_interfaces()->at(index);
|
||||
}
|
||||
InstanceKlass* next_super() { return _class->java_super(); }
|
||||
InstanceKlass* next_interface() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue