mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-29 08:31:32 +00:00
Merge remote-tracking branch 'origin/master' into feature/osr
This commit is contained in:
@ -2,7 +2,7 @@ use wasmer_runtime_core::{
|
||||
codegen::{Event, EventSink, FunctionMiddleware, InternalEvent},
|
||||
module::ModuleInfo,
|
||||
vm::{Ctx, InternalField},
|
||||
wasmparser::{Operator, Type as WpType},
|
||||
wasmparser::{Operator, Type as WpType, TypeOrFuncType as WpTypeOrFuncType},
|
||||
Instance,
|
||||
};
|
||||
|
||||
@ -92,7 +92,7 @@ impl FunctionMiddleware for Metering {
|
||||
}));
|
||||
sink.push(Event::WasmOwned(Operator::I64GeU));
|
||||
sink.push(Event::WasmOwned(Operator::If {
|
||||
ty: WpType::EmptyBlockType,
|
||||
ty: WpTypeOrFuncType::Type(WpType::EmptyBlockType),
|
||||
}));
|
||||
sink.push(Event::Internal(InternalEvent::Breakpoint(Box::new(|_| {
|
||||
Err(Box::new(ExecutionLimitExceededError))
|
||||
|
Reference in New Issue
Block a user