equal
deleted
inserted
replaced
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. |