Index: runtime/vm/profiler.cc |
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc |
index 690a23b53ebd9dd89659729d2d3988531c7e30bf..c4786b04775cdcbaf8bbb80cd0ef3bf511af28be 100644 |
--- a/runtime/vm/profiler.cc |
+++ b/runtime/vm/profiler.cc |
@@ -2000,7 +2000,7 @@ void Profiler::RecordSampleInterruptCallback( |
uword stack_lower = 0; |
uword stack_upper = 0; |
- isolate->GetStackBounds(&stack_lower, &stack_upper); |
+ isolate->GetProfilerStackBounds(&stack_lower, &stack_upper); |
if ((stack_lower == 0) || (stack_upper == 0)) { |
// Could not get stack boundary. |
return; |