| Index: runtime/vm/profiler.cc
|
| diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
|
| index 1a8f13ebcf0cd75e83703f36278b3c8c1a0c8329..c4fe878ba9d7d2216b055b5fa0006118bbe603cf 100644
|
| --- a/runtime/vm/profiler.cc
|
| +++ b/runtime/vm/profiler.cc
|
| @@ -1890,9 +1890,8 @@ void Profiler::RecordSampleInterruptCallback(
|
| stackWalker.walk(isolate->heap());
|
| } else {
|
| if ((isolate->stub_code() != NULL) &&
|
| - (isolate->top_exit_frame_info() != 0) &&
|
| - (isolate->vm_tag() != VMTag::kScriptTagId)) {
|
| - // We have a valid exit frame info, use the Dart stack walker.
|
| + (isolate->top_exit_frame_info() != 0)) {
|
| + // Collect only Dart frames.
|
| ProfilerDartStackWalker stackWalker(isolate, sample);
|
| stackWalker.walk();
|
| } else {
|
|
|