jetcrab\vm/
bytecode.rs

1use crate::vm::instructions::Instruction;
2
3#[derive(Debug, Clone)]
4pub struct Bytecode {
5    pub instructions: Vec<Instruction>,
6}
7
8impl Bytecode {
9    pub fn new(instructions: Vec<Instruction>) -> Self {
10        Bytecode { instructions }
11    }
12}