Commit dae0fecf authored by alph's avatar alph Committed by Commit bot

Sampling heap profiler: report allocations for nodes with missing script.

Review-Url: https://codereview.chromium.org/1952753003
Cr-Commit-Position: refs/heads/master@{#36085}
parent 127d6781
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment