mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-12 22:41:40 +00:00
callindirect_1
This commit is contained in:
@ -323,6 +323,11 @@ impl TableSection {
|
||||
pub fn entries(&self) -> &[TableType] {
|
||||
&self.0
|
||||
}
|
||||
|
||||
/// Mutable table entries.
|
||||
pub fn entries_mut(&mut self) -> &mut Vec<TableType> {
|
||||
&mut self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl Deserialize for TableSection {
|
||||
@ -538,6 +543,11 @@ impl ElementSection {
|
||||
pub fn entries(&self) -> &[ElementSegment] {
|
||||
&self.0
|
||||
}
|
||||
|
||||
/// Mutable elements entries in the section
|
||||
pub fn entries_mut(&mut self) -> &mut Vec<ElementSegment> {
|
||||
&mut self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl Deserialize for ElementSection {
|
||||
|
Reference in New Issue
Block a user