mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 06:01:33 +00:00
Add the internals
field and necessary structures for metering.
This commit is contained in:
@ -17,6 +17,7 @@ use wasmparser::{Operator, Type as WpType};
|
||||
pub enum Event<'a, 'b> {
|
||||
Internal(InternalEvent),
|
||||
Wasm(&'b Operator<'a>),
|
||||
WasmOwned(Operator<'a>),
|
||||
}
|
||||
|
||||
pub enum InternalEvent {
|
||||
@ -39,7 +40,9 @@ impl fmt::Debug for InternalEvent {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct BkptInfo {}
|
||||
pub struct BkptInfo {
|
||||
pub throw: unsafe extern "C" fn () -> !,
|
||||
}
|
||||
|
||||
pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator<E>, RM: RunnableModule, E: Debug> {
|
||||
/// Creates a new module code generator.
|
||||
|
Reference in New Issue
Block a user