hotspot/src/cpu/ppc/vm/vtableStubs_ppc_64.cpp
changeset 22852 1063026e8cee
parent 22843 b245fac3b6a4
child 22861 f5c393d456fc
equal deleted inserted replaced
22851:4c4b6a45be43 22852:1063026e8cee
   219   // If the vtable entry is null, the method is abstract.
   219   // If the vtable entry is null, the method is abstract.
   220   address ame_addr = __ pc(); // ame = abstract method error
   220   address ame_addr = __ pc(); // ame = abstract method error
   221 
   221 
   222   // Must do an explicit check if implicit checks are disabled.
   222   // Must do an explicit check if implicit checks are disabled.
   223   assert(!MacroAssembler::needs_explicit_null_check(in_bytes(Method::from_compiled_offset())), "sanity");
   223   assert(!MacroAssembler::needs_explicit_null_check(in_bytes(Method::from_compiled_offset())), "sanity");
   224   if (!ImplicitNullChecks NOT_LINUX(|| true) /*!os::zero_page_read_protected()*/) {
   224   if (!ImplicitNullChecks || !os::zero_page_read_protected()) {
   225     if (TrapBasedNullChecks) {
   225     if (TrapBasedNullChecks) {
   226       __ trap_null_check(R19_method);
   226       __ trap_null_check(R19_method);
   227     } else {
   227     } else {
   228       __ cmpdi(CCR0, R19_method, 0);
   228       __ cmpdi(CCR0, R19_method, 0);
   229       __ beq(CCR0, throw_icce);
   229       __ beq(CCR0, throw_icce);