mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8275201: C2: hide klass() accessor from TypeOopPtr and typeKlassPtr subclasses
Reviewed-by: vlivanov, iveresov
This commit is contained in:
parent
6586e5ae37
commit
aa7ccdf445
33 changed files with 1046 additions and 666 deletions
|
@ -713,8 +713,8 @@ inline bool is_double_word_type(BasicType t) {
|
|||
return (t == T_DOUBLE || t == T_LONG);
|
||||
}
|
||||
|
||||
inline bool is_reference_type(BasicType t) {
|
||||
return (t == T_OBJECT || t == T_ARRAY);
|
||||
inline bool is_reference_type(BasicType t, bool include_narrow_oop = false) {
|
||||
return (t == T_OBJECT || t == T_ARRAY || (include_narrow_oop && t == T_NARROWOOP));
|
||||
}
|
||||
|
||||
inline bool is_integral_type(BasicType t) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue