| Index: src/profiler/sampling-heap-profiler.cc
|
| diff --git a/src/profiler/sampling-heap-profiler.cc b/src/profiler/sampling-heap-profiler.cc
|
| index f9ba073fc58624e0c0925ca270bf158fcabdfc19..ddc8bcbf5fb55c1af0b8d776ec63bd75254dd904 100644
|
| --- a/src/profiler/sampling-heap-profiler.cc
|
| +++ b/src/profiler/sampling-heap-profiler.cc
|
| @@ -155,10 +155,10 @@ SamplingHeapProfiler::AllocationNode* SamplingHeapProfiler::AddStack() {
|
| AllocationNode* node = &profile_root_;
|
|
|
| std::vector<SharedFunctionInfo*> stack;
|
| - StackTraceFrameIterator it(isolate_);
|
| + JavaScriptFrameIterator it(isolate_);
|
| int frames_captured = 0;
|
| while (!it.done() && frames_captured < stack_depth_) {
|
| - StandardFrame* frame = it.frame();
|
| + JavaScriptFrame* frame = it.frame();
|
| SharedFunctionInfo* shared = frame->function()->shared();
|
| stack.push_back(shared);
|
|
|
|
|