diff --git a/bindings/translate-heap-profile.cc b/bindings/translate-heap-profile.cc index 510bd8c7..a4331e09 100644 --- a/bindings/translate-heap-profile.cc +++ b/bindings/translate-heap-profile.cc @@ -52,7 +52,7 @@ class HeapProfileTranslator : ProfileTranslator { auto alloc = node->allocations[i]; Set(allocations, i, - CreateAllocation(NewNumber(alloc.size), NewNumber(alloc.count))); + CreateAllocation(NewNumber(alloc.count), NewNumber(alloc.size))); } return CreateNode(node->name,