From e49f7f7508c9b83c19a18da505a5af1d65bafc77 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Fri, 18 Oct 2024 20:23:45 +0200 Subject: [PATCH] asm: fix routine typo --- src/isa/macros.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/isa/macros.rs b/src/isa/macros.rs index ba32341..462aa20 100644 --- a/src/isa/macros.rs +++ b/src/isa/macros.rs @@ -23,6 +23,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +use crate::isa::ControlFlowOp; + /// Macro compiler for AluVM assembler. /// /// # Example @@ -179,10 +181,10 @@ macro_rules! instr { Instr::ControlFlow(ControlFlowOp::Jif($offset)) }; (routine $offset:literal) => { - Instr::ControlFlow(ControlFlowOp::Reutine($offset)) + Instr::ControlFlow(ControlFlowOp::Routine($offset)) }; (routine $offset:ident) => { - Instr::ControlFlow(ControlFlowOp::Reutine($offset)) + Instr::ControlFlow(ControlFlowOp::Routine($offset)) }; (call $offset:literal @ $lib:literal) => { Instr::ControlFlow(ControlFlowOp::Call(LibSite::with(