Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
set up "type" property unconditionally in profiler's allocs.
  • Loading branch information
timo committed Mar 13, 2016
1 parent 43a819e commit 2138e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/moar/profiler/template.html
Expand Up @@ -1007,8 +1007,8 @@ <h3>Global Deoptimization</h3>
function walkCallGraphNode(node) {
if (node.allocations) {
node.allocations.map(function (alloc) {
alloc.type = id_to_things[alloc.id];
if (!typeIdToName[alloc.id]) {
alloc.type = id_to_things[alloc.id];
typeIdToName[alloc.id] = alloc.type == "" ? "<anon>" : alloc.type;
typeIdToAllocations[alloc.id] = 0;
typeIdToAllocationsByType[alloc.id] = [0, 0, 0];
Expand Down

0 comments on commit 2138e0e

Please sign in to comment.