File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
crates/wasmi/src/engine/translator/stack2 Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- #[ derive( Debug , Clone ) ]
1
+ #[ derive( Debug , Default , Clone ) ]
2
2
pub struct ConstRegistry { }
Original file line number Diff line number Diff line change 1
1
use crate :: core:: ValType ;
2
2
use alloc:: vec:: Vec ;
3
3
4
- #[ derive( Debug , Clone ) ]
4
+ #[ derive( Debug , Default , Clone ) ]
5
5
pub struct LocalsRegistry {
6
6
groups : Vec < LocalGroup > ,
7
7
len_locals : usize ,
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ use crate::core::{TypedVal, ValType};
6
6
use alloc:: vec:: Vec ;
7
7
use core:: num:: NonZeroUsize ;
8
8
9
- #[ derive( Debug , Clone ) ]
10
9
/// The Wasm value stack during translation from Wasm to Wasmi bytecode.
10
+ #[ derive( Debug , Default , Clone ) ]
11
11
pub struct Stack {
12
12
/// The stack of operands.
13
13
operands : Vec < StackOperand > ,
You can’t perform that action at this time.
0 commit comments