summaryrefslogtreecommitdiff
path: root/src/passes/PostEmscripten.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-10-10 18:05:17 -0500
committerGitHub <noreply@github.com>2022-10-10 16:05:17 -0700
commitac21db83c9dbde2a8b4d8c45c86c42d997b88e83 (patch)
tree58b00e39fd4274df81b1a1b849a7852e1c213ad8 /src/passes/PostEmscripten.cpp
parent2f722471e55b3bc7c013763d6dc9043fba7317d8 (diff)
downloadbinaryen-ac21db83c9dbde2a8b4d8c45c86c42d997b88e83.tar.gz
binaryen-ac21db83c9dbde2a8b4d8c45c86c42d997b88e83.tar.bz2
binaryen-ac21db83c9dbde2a8b4d8c45c86c42d997b88e83.zip
[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.
Diffstat (limited to 'src/passes/PostEmscripten.cpp')
-rw-r--r--src/passes/PostEmscripten.cpp6
1 files changed, 4 insertions, 2 deletions
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<EmJsWalker> {
std::vector<Export> toRemove;