Skip to content

Commit

Permalink
asm: fix routine typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Oct 18, 2024
1 parent 1da568b commit e49f7f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/isa/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit e49f7f7

Please sign in to comment.