mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-29 14:42:02 +00:00
Merge branch 'master' into interpreter
This commit is contained in:
@ -67,6 +67,11 @@ impl InitExpr {
|
||||
pub fn code(&self) -> &[Opcode] {
|
||||
&self.0
|
||||
}
|
||||
|
||||
/// List of opcodes used in the expression.
|
||||
pub fn code_mut(&mut self) -> &mut Vec<Opcode> {
|
||||
&mut self.0
|
||||
}
|
||||
}
|
||||
|
||||
// todo: check if kind of opcode sequence is valid as an expression
|
||||
|
Reference in New Issue
Block a user