From 40ab2217bddc38536a1be1aa32c23d235f09da64 Mon Sep 17 00:00:00 2001 From: ishabi Date: Tue, 3 Feb 2026 10:29:31 +0100 Subject: [PATCH] fix params order in create allocation call --- bindings/translate-heap-profile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,