summaryrefslogtreecommitdiff
path: root/src/wasm
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-10-11 10:22:41 -0500
committerGitHub <noreply@github.com>2022-10-11 08:22:41 -0700
commit802cb0bc9407c3e1f46cf426873cdbfeed42edaf (patch)
tree3316ad2f6d8674793e2cb6e2509c24834d32de82 /src/wasm
parentac21db83c9dbde2a8b4d8c45c86c42d997b88e83 (diff)
downloadbinaryen-802cb0bc9407c3e1f46cf426873cdbfeed42edaf.tar.gz
binaryen-802cb0bc9407c3e1f46cf426873cdbfeed42edaf.tar.bz2
binaryen-802cb0bc9407c3e1f46cf426873cdbfeed42edaf.zip
[NFC] Remove more `cashew::` namespaces from IString (#5127)
Finishes work missed in #5126.
Diffstat (limited to 'src/wasm')
-rw-r--r--src/wasm/wasm-s-parser.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wasm/wasm-s-parser.cpp b/src/wasm/wasm-s-parser.cpp
index b23419071..172ef15b6 100644
--- a/src/wasm/wasm-s-parser.cpp
+++ b/src/wasm/wasm-s-parser.cpp
@@ -32,8 +32,6 @@
#define element_assert(condition) \
assert((condition) ? true : (std::cerr << "on: " << *this << '\n' && 0));
-using cashew::IString;
-
namespace {
int unhex(char c) {
if (c >= '0' && c <= '9') {
@@ -1621,8 +1619,7 @@ Expression* SExpressionWasmBuilder::makeThenOrElse(Element& s) {
return ret;
}
-static Expression*
-parseConst(cashew::IString s, Type type, MixedArena& allocator) {
+static Expression* parseConst(IString s, Type type, MixedArena& allocator) {
const char* str = s.str;
auto ret = allocator.alloc<Const>();
ret->type = type;