Add SectionBody which holds the bytes of a section.

Wire it up to CompiledModule::new().
This commit is contained in:
Nick Lewycky
2020-05-03 15:24:16 -07:00
parent ab27b7ff3a
commit db72d19f5d
4 changed files with 12 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ pub use crate::function::{
};
pub use crate::jump_table::{JumpTable, JumpTableOffsets};
pub use crate::relocation::{Relocation, RelocationKind, RelocationTarget, Relocations};
pub use crate::section::{CustomSection, CustomSectionProtection, SectionIndex};
pub use crate::section::{CustomSection, CustomSectionProtection, SectionBody, SectionIndex};
pub use crate::sourceloc::SourceLoc;
pub use crate::translator::{
to_wasm_error, translate_module, FunctionBodyData, ModuleEnvironment, ModuleTranslation,