summaryrefslogtreecommitdiff
path: root/crates/parser/src/lib.rs
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-08-27 16:06:57 +0200
committerHenry <mail@henrygressmann.de>2026-08-27 16:06:57 +0200
commit843e0ff5601479239791f452bec9865df779839b (patch)
tree622e042f6f6cacec2a72c70f22816e8296997e41 /crates/parser/src/lib.rs
parenta8f42e481e9cc56834c39f073236c25cb533efc6 (diff)
chore: simplify operands, extract more exec_ methods
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src/lib.rs')
-rw-r--r--crates/parser/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs
index 3369f7b..4954056 100644
--- a/crates/parser/src/lib.rs
+++ b/crates/parser/src/lib.rs
@@ -61,11 +61,11 @@ pub struct ParserOptions {
/// Disable this only for trusted input. Parsing without validation may produce
/// a module that violates runtime assumptions.
pub validation: bool,
+
/// Whether to run the peephole rewrite optimizer.
pub optimize_rewrite: bool,
+
/// Whether to deduplicate immutable function operands while parsing.
- ///
- /// This uses more parse CPU to reduce precompiled module and archive size.
pub deduplicate_operands: bool,
#[cfg(parallel_parser)]