src/cpu/ppc/vm/relocInfo_ppc.cpp
Print this page
rev 5185 : 8024379: Adapt PPC64 port to 8003424
@@ -56,11 +56,11 @@
nativeMovConstReg_at(addr())->set_data_plain(((intptr_t)x), code());
} else {
assert(type() == relocInfo::oop_type || type() == relocInfo::metadata_type,
"how to encode else?");
narrowOop no = (type() == relocInfo::oop_type) ?
- oopDesc::encode_heap_oop((oop)x) : oopDesc::encode_klass((Klass*)x);
+ oopDesc::encode_heap_oop((oop)x) : Klass::encode_klass((Klass*)x);
nativeMovConstReg_at(addr())->set_narrow_oop(no, code());
}
} else {
assert((address) (nativeMovConstReg_at(addr())->data()) == x, "data must match");
}