diff options
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/wasm-opt.cpp | 14 | ||||
-rw-r--r-- | src/tools/wasm-shell.cpp | 1 | ||||
-rw-r--r-- | src/tools/wasm2js.cpp | 1 |
3 files changed, 0 insertions, 16 deletions
diff --git a/src/tools/wasm-opt.cpp b/src/tools/wasm-opt.cpp index 73908afb7..d488171fb 100644 --- a/src/tools/wasm-opt.cpp +++ b/src/tools/wasm-opt.cpp @@ -34,7 +34,6 @@ #include "wasm-binary.h" #include "wasm-interpreter.h" #include "wasm-io.h" -#include "wasm-s-parser.h" #include "wasm-stack.h" #include "wasm-validator.h" #include "wasm2c-wrapper.h" @@ -221,19 +220,6 @@ int main(int argc, const char* argv[]) { [&outputSourceMapUrl](Options* o, const std::string& argument) { outputSourceMapUrl = argument; }) - .add( - "--deprecated-wat-parser", - "", - "Use the old, deprecated WAT parser. This option will be removed soon!", - WasmOptOption, - Options::Arguments::Zero, - [](Options*, const std::string&) { useNewWATParser = false; }) - .add("--new-wat-parser", - "", - "Use the experimental new WAT parser", - WasmOptOption, - Options::Arguments::Zero, - [](Options*, const std::string&) { useNewWATParser = true; }) .add_positional("INFILE", Options::Arguments::One, [](Options* o, const std::string& argument) { diff --git a/src/tools/wasm-shell.cpp b/src/tools/wasm-shell.cpp index d334d3380..c5de531f5 100644 --- a/src/tools/wasm-shell.cpp +++ b/src/tools/wasm-shell.cpp @@ -32,7 +32,6 @@ #include "support/result.h" #include "wasm-binary.h" #include "wasm-interpreter.h" -#include "wasm-s-parser.h" #include "wasm-validator.h" using namespace wasm; diff --git a/src/tools/wasm2js.cpp b/src/tools/wasm2js.cpp index a6de1fabd..feba358c4 100644 --- a/src/tools/wasm2js.cpp +++ b/src/tools/wasm2js.cpp @@ -25,7 +25,6 @@ #include "support/colors.h" #include "support/command-line.h" #include "support/file.h" -#include "wasm-s-parser.h" using namespace cashew; using namespace wasm; |