summaryrefslogtreecommitdiff
path: root/crates/parser/src/lib.rs
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-04-25 18:30:53 +0200
committerHenry <mail@henrygressmann.de>2026-04-25 18:30:53 +0200
commit165b19813067140e3f594740affda804dbdb0564 (patch)
tree0368fb2b1da998b24753537ccc5d77b85de6d4a0 /crates/parser/src/lib.rs
parente6691d035b6948452d6073317451b3f1ff0a24f8 (diff)
chore: add global bin op and acc superinstructions, cleanup executor
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src/lib.rs')
-rw-r--r--crates/parser/src/lib.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs
index 684e79b..4eda84b 100644
--- a/crates/parser/src/lib.rs
+++ b/crates/parser/src/lib.rs
@@ -55,11 +55,7 @@ pub struct ParserOptions {
impl Default for ParserOptions {
fn default() -> Self {
- Self {
- optimize_local_memory_allocation: true,
- optimize_rewrite: true,
- optimize_remove_nop: true,
- }
+ Self { optimize_local_memory_allocation: true, optimize_rewrite: true, optimize_remove_nop: true }
}
}
@@ -96,7 +92,6 @@ impl ParserOptions {
pub const fn optimize_remove_nop(&self) -> bool {
self.optimize_remove_nop
}
-
}
/// A WebAssembly parser