mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8156942: [JVMCI] replace LIRKind with abstract base class
Reviewed-by: iveresov
This commit is contained in:
parent
fd3645227b
commit
5686cc1784
28 changed files with 304 additions and 621 deletions
|
@ -219,9 +219,8 @@ narrowKlass CodeInstaller::record_narrow_metadata_reference(Handle constant, TRA
|
|||
#endif
|
||||
|
||||
Location::Type CodeInstaller::get_oop_type(Handle value) {
|
||||
Handle lirKind = Value::lirKind(value);
|
||||
Handle platformKind = LIRKind::platformKind(lirKind);
|
||||
assert(LIRKind::referenceMask(lirKind) == 1, "unexpected referenceMask");
|
||||
Handle valueKind = Value::valueKind(value);
|
||||
Handle platformKind = ValueKind::platformKind(valueKind);
|
||||
|
||||
if (platformKind == word_kind()) {
|
||||
return Location::oop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue