Index: src/profiler/sampler.cc |
diff --git a/src/profiler/sampler.cc b/src/profiler/sampler.cc |
index 019f6cfeecd612ab723d325ec75dd8b5a7aedc69..f7662e0edb2276b1747bb92f846f5dbc242cd140 100644 |
--- a/src/profiler/sampler.cc |
+++ b/src/profiler/sampler.cc |
@@ -683,7 +683,7 @@ DISABLE_ASAN void TickSample::Init(Isolate* isolate, |
// we have already entrered JavaScript again and the external callback |
// is not the top function. |
if (scope && scope->scope_address() < handler) { |
- external_callback = scope->callback(); |
+ external_callback_entry = *scope->callback_entrypoint_address(); |
has_external_callback = true; |
} else { |
// sp register may point at an arbitrary place in memory, make |