mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8216189: Remove Klass::compute_is_subtype_of
Reviewed-by: hseigel, jiangli
This commit is contained in:
parent
53f83ebdf9
commit
13fcbf9d8f
10 changed files with 9 additions and 56 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2019, 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
|
||||
|
@ -159,11 +159,6 @@ void Klass::initialize(TRAPS) {
|
|||
ShouldNotReachHere();
|
||||
}
|
||||
|
||||
bool Klass::compute_is_subtype_of(Klass* k) {
|
||||
assert(k->is_klass(), "argument must be a class");
|
||||
return is_subclass_of(k);
|
||||
}
|
||||
|
||||
Klass* Klass::find_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const {
|
||||
#ifdef ASSERT
|
||||
tty->print_cr("Error: find_field called on a klass oop."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue