From ac21db83c9dbde2a8b4d8c45c86c42d997b88e83 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Mon, 10 Oct 2022 18:05:17 -0500 Subject: [NFC] Remove `cashew::` namespace from IString (#5126) As an NFC preliminary change that will minimize the diff in #5122, which moves IString to the wasm namespace. --- src/passes/PostEmscripten.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/passes/PostEmscripten.cpp') diff --git a/src/passes/PostEmscripten.cpp b/src/passes/PostEmscripten.cpp index ded949859..c936337f3 100644 --- a/src/passes/PostEmscripten.cpp +++ b/src/passes/PostEmscripten.cpp @@ -184,8 +184,10 @@ static void removeData(Module& wasm, << startAddress << ") and " << end_sym << " (" << endAddress << ")"; } -cashew::IString EM_JS_PREFIX("__em_js__"); -cashew::IString EM_JS_DEPS_PREFIX("__em_lib_deps_"); +using IString = cashew::IString; + +IString EM_JS_PREFIX("__em_js__"); +IString EM_JS_DEPS_PREFIX("__em_lib_deps_"); struct EmJsWalker : public PostWalker { std::vector toRemove; -- cgit v1.2.3