hotspot/src/cpu/ppc/vm/nativeInst_ppc.cpp
changeset 38133 78b95467b9f1
parent 35594 cc13089c6327
equal deleted inserted replaced
38132:ba888a4f352a 38133:78b95467b9f1
   135   // because of CodeBuffer expansion.
   135   // because of CodeBuffer expansion.
   136   if (code->relocation_size() == 0)
   136   if (code->relocation_size() == 0)
   137     return NULL;
   137     return NULL;
   138 
   138 
   139   address bl_destination = Assembler::bxx_destination(call_addr);
   139   address bl_destination = Assembler::bxx_destination(call_addr);
   140   if (code->content_contains(bl_destination) &&
   140   if (code->contains(bl_destination) &&
   141       is_NativeCallTrampolineStub_at(bl_destination))
   141       is_NativeCallTrampolineStub_at(bl_destination))
   142     return bl_destination;
   142     return bl_destination;
   143 
   143 
   144   // If the codeBlob is not a nmethod, this is because we get here from the
   144   // If the codeBlob is not a nmethod, this is because we get here from the
   145   // CodeBlob constructor, which is called within the nmethod constructor.
   145   // CodeBlob constructor, which is called within the nmethod constructor.