From 3adb478bb5257ab48f366f58f2a2ce3ae1115b97 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 28 Apr 2025 15:55:07 -0600 Subject: measurestack: Add a `dbg_sort` toggle --- build-aux/measurestack/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-aux/measurestack/util.py') diff --git a/build-aux/measurestack/util.py b/build-aux/measurestack/util.py index 47b2617..0af3d02 100644 --- a/build-aux/measurestack/util.py +++ b/build-aux/measurestack/util.py @@ -7,7 +7,7 @@ import re import typing from . import analyze, vcg -from .analyze import BaseName, Node, QName +from .analyze import BaseName, Node, QName, maybe_sorted # pylint: disable=unused-variable __all__ = [ @@ -32,7 +32,7 @@ def synthetic_node( n.nstatic = nstatic n.ndynamic = 0 - n.calls = dict((QName(c), False) for c in calls) + n.calls = dict((QName(c), False) for c in maybe_sorted(calls)) return n -- cgit v1.2.3-2-g168b