10 lines
381 B
Rust
10 lines
381 B
Rust
|
pub mod tests {
|
||
|
use compiler::backend::{AddInst, Block, BranchInst, BranchOp, Inst, JmpInst, MvInst, REG_A0, REG_A1, REG_A2, REG_RA, REG_S0, REG_S1, REG_S2, REG_SP, SdInst};
|
||
|
|
||
|
#[test]
|
||
|
pub fn linked() {
|
||
|
// createLinkedList
|
||
|
let mut entry = Block::new("entry".into());
|
||
|
let addispsp_16 = Inst::Add(AddInst::new(REG_SP.into(), REG_SP.into()))
|
||
|
}
|
||
|
}
|