hotspot/src/cpu/aarch64/vm/nativeInst_aarch64.cpp
changeset 38133 78b95467b9f1
parent 36060 de5c192c2eac
equal deleted inserted replaced
38132:ba888a4f352a 38133:78b95467b9f1
    97   CodeBlob *code = CodeCache::find_blob(call_addr);
    97   CodeBlob *code = CodeCache::find_blob(call_addr);
    98   assert(code != NULL, "Could not find the containing code blob");
    98   assert(code != NULL, "Could not find the containing code blob");
    99 
    99 
   100   address bl_destination
   100   address bl_destination
   101     = MacroAssembler::pd_call_destination(call_addr);
   101     = MacroAssembler::pd_call_destination(call_addr);
   102   if (code->content_contains(bl_destination) &&
   102   if (code->contains(bl_destination) &&
   103       is_NativeCallTrampolineStub_at(bl_destination))
   103       is_NativeCallTrampolineStub_at(bl_destination))
   104     return bl_destination;
   104     return bl_destination;
   105 
   105 
   106   // If the codeBlob is not a nmethod, this is because we get here from the
   106   // If the codeBlob is not a nmethod, this is because we get here from the
   107   // CodeBlob constructor, which is called within the nmethod constructor.
   107   // CodeBlob constructor, which is called within the nmethod constructor.