| 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..4f5f29c07555b4ab137502c546bfe93a6ea3f287 100644
|
| --- a/src/profiler/sampling-heap-profiler.cc
|
| +++ b/src/profiler/sampling-heap-profiler.cc
|
| @@ -233,9 +233,9 @@ v8::AllocationProfile::Node* SamplingHeapProfiler::TranslateAllocationNode(
|
| line = 1 + Script::GetLineNumber(script, node->script_position_);
|
| column = 1 + Script::GetColumnNumber(script, node->script_position_);
|
| }
|
| - for (auto alloc : node->allocations_) {
|
| - allocations.push_back(ScaleSample(alloc.first, alloc.second));
|
| - }
|
| + }
|
| + for (auto alloc : node->allocations_) {
|
| + allocations.push_back(ScaleSample(alloc.first, alloc.second));
|
| }
|
|
|
| profile->nodes().push_back(v8::AllocationProfile::Node(
|
|
|