Sampling heap profiler: report allocations for nodes with missing script.
Review-Url: https://codereview.chromium.org/1952753003 Cr-Commit-Position: refs/heads/master@{#36085}
This commit is contained in:
parent
127d6781d9
commit
dae0fecfd2
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user