diff --git a/static_core/runtime/entrypoints/entrypoints.cpp b/static_core/runtime/entrypoints/entrypoints.cpp index ee8c0097ee5fffccfa538c628d7999079365696f..6e6f62ae639dc479fd0c200ff1d7c0d80ea312b4 100644 --- a/static_core/runtime/entrypoints/entrypoints.cpp +++ b/static_core/runtime/entrypoints/entrypoints.cpp @@ -1488,18 +1488,12 @@ extern "C" bool CallCompilerSlowPathOSR(ManagedThread *thread, Method *method, F extern "C" void UpdateBranchTaken([[maybe_unused]] Method *method, Frame *frame, const uint8_t *pc, ProfilingData *profDataIrtoc) { - // Add a second prof_data loading because without it THREAD_SANITIZER crashes - // NOTE(aantipina): investigate and delete the second loading (issue I6DTAA) - [[maybe_unused]] ProfilingData *profData = method->GetProfilingDataWithoutCheck(); profDataIrtoc->UpdateBranchTaken(pc - frame->GetInstruction()); } extern "C" void UpdateBranchUntaken([[maybe_unused]] Method *method, Frame *frame, const uint8_t *pc, ProfilingData *profDataIrtoc) { - // Add a second prof_data loading because without it THREAD_SANITIZER crashes - // NOTE(aantipina): investigate and delete the second loading - [[maybe_unused]] ProfilingData *profData = method->GetProfilingDataWithoutCheck(); profDataIrtoc->UpdateBranchNotTaken(pc - frame->GetInstruction()); }