summaryrefslogtreecommitdiff
path: root/src/tools/optimization-options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/optimization-options.h')
-rw-r--r--src/tools/optimization-options.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/optimization-options.h b/src/tools/optimization-options.h
index eaa90f55f..698d3305e 100644
--- a/src/tools/optimization-options.h
+++ b/src/tools/optimization-options.h
@@ -270,18 +270,6 @@ struct OptimizationOptions : public ToolOptions {
OptimizationOptionsCategory,
Options::Arguments::Zero,
[this](Options*, const std::string&) { passOptions.fastMath = true; })
- .add(
- "--closed-world",
- "-cw",
- "Assume code outside of the module does not inspect or interact with "
- "GC and function references, even if they are passed out. The outside "
- "may hold on to them and pass them back in, but not inspect their "
- "contents or call them.",
- OptimizationOptionsCategory,
- Options::Arguments::Zero,
- [this](Options*, const std::string&) {
- passOptions.closedWorld = true;
- })
.add("--zero-filled-memory",
"-uim",
"Assume that an imported memory will be zero-initialized",