diff options
Diffstat (limited to 'src/tools/wasm-split/split-options.cpp')
-rw-r--r-- | src/tools/wasm-split/split-options.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/tools/wasm-split/split-options.cpp b/src/tools/wasm-split/split-options.cpp index d077c70bc..b166b575c 100644 --- a/src/tools/wasm-split/split-options.cpp +++ b/src/tools/wasm-split/split-options.cpp @@ -205,15 +205,14 @@ WasmSplitOptions::WasmSplitOptions() [&](Options* o, const std::string& argument) { placeholderNamespace = argument; }) - .add( - "--asyncify", - "", - "Transform the module to support unwinding the stack from placeholder " - "functions and rewinding it once the secondary module has been loaded.", - WasmSplitOption, - {Mode::Split}, - Options::Arguments::Zero, - [&](Options* o, const std::string& argument) { asyncify = true; }) + .add("--jspi", + "", + "Transform the module to support asynchronously loading the secondary " + "module before any placeholder functions have been called.", + WasmSplitOption, + {Mode::Split}, + Options::Arguments::Zero, + [&](Options* o, const std::string& argument) { jspi = true; }) .add( "--export-prefix", "", |