This commit is contained in:
2026-03-24 13:40:36 +00:00
parent 29056ce0ad
commit 6423c6b4bc
6 changed files with 25 additions and 437 deletions
@@ -560,9 +560,7 @@ fn validate_module(module: &BytecodeModule) -> Result<(), LoadError> {
| OpCode::GetLocal
| OpCode::SetLocal
| OpCode::PopN
| OpCode::Syscall
| OpCode::GateLoad
| OpCode::GateStore => {
| OpCode::Syscall => {
pos += 4;
}
OpCode::PushI64 | OpCode::PushF64 => {
@@ -574,9 +572,6 @@ fn validate_module(module: &BytecodeModule) -> Result<(), LoadError> {
OpCode::Call => {
pos += 4;
}
OpCode::Alloc => {
pos += 8;
}
_ => {}
}
}