comparison src/cpu/ppc/vm/relocInfo_ppc.cpp @ 14413:7687c56b6693

8024379: Adapt PPC64 port to 8003424 Reviewed-by: coleenp
author goetz
date Fri, 06 Sep 2013 10:13:17 +0200
parents ec28f9c041ff
children
comparison
equal deleted inserted replaced
14412:e2722a66aba7 14413:7687c56b6693
56 nativeMovConstReg_at(addr())->set_data_plain(((intptr_t)x), code()); 56 nativeMovConstReg_at(addr())->set_data_plain(((intptr_t)x), code());
57 } else { 57 } else {
58 assert(type() == relocInfo::oop_type || type() == relocInfo::metadata_type, 58 assert(type() == relocInfo::oop_type || type() == relocInfo::metadata_type,
59 "how to encode else?"); 59 "how to encode else?");
60 narrowOop no = (type() == relocInfo::oop_type) ? 60 narrowOop no = (type() == relocInfo::oop_type) ?
61 oopDesc::encode_heap_oop((oop)x) : oopDesc::encode_klass((Klass*)x); 61 oopDesc::encode_heap_oop((oop)x) : Klass::encode_klass((Klass*)x);
62 nativeMovConstReg_at(addr())->set_narrow_oop(no, code()); 62 nativeMovConstReg_at(addr())->set_narrow_oop(no, code());
63 } 63 }
64 } else { 64 } else {
65 assert((address) (nativeMovConstReg_at(addr())->data()) == x, "data must match"); 65 assert((address) (nativeMovConstReg_at(addr())->data()) == x, "data must match");
66 } 66 }