From 2d70ee0d1d2620a676bdf82779187cf0ee5bd0cf Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Fri, 6 Sep 2024 17:24:52 -0700 Subject: [NFC] Rename the old topological sort utility (#6914) This will allow both the old and new topological sort utilities to be included into the same .cpp file while we phase out the old utility. --- src/tools/wasm-ctor-eval.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/wasm-ctor-eval.cpp') diff --git a/src/tools/wasm-ctor-eval.cpp b/src/tools/wasm-ctor-eval.cpp index 9cf552450..6809fa32a 100644 --- a/src/tools/wasm-ctor-eval.cpp +++ b/src/tools/wasm-ctor-eval.cpp @@ -36,9 +36,9 @@ #include "support/colors.h" #include "support/file.h" #include "support/insert_ordered.h" +#include "support/old_topological_sort.h" #include "support/small_set.h" #include "support/string.h" -#include "support/topological_sort.h" #include "tool-options.h" #include "wasm-builder.h" #include "wasm-interpreter.h" @@ -678,7 +678,7 @@ private: if (!mustBeAfter.empty()) { // We found constraints that require reordering, so do so. - struct MustBeAfterSort : TopologicalSort { + struct MustBeAfterSort : OldTopologicalSort { MustBeAfter& mustBeAfter; MustBeAfterSort(MustBeAfter& mustBeAfter) : mustBeAfter(mustBeAfter) { -- cgit v1.2.3