refactor: centralize box type metadata
This commit is contained in:
committed by
Selfhosting Dev
parent
f124731764
commit
c4e1728b8e
8
src/backend/llvm/compiler/mock.rs
Normal file
8
src/backend/llvm/compiler/mock.rs
Normal file
@ -0,0 +1,8 @@
|
||||
use super::LLVMCompiler;
|
||||
use crate::box_trait::{BoolBox, IntegerBox, NyashBox, StringBox};
|
||||
use crate::boxes::{function_box::FunctionBox, math_box::FloatBox, null_box::NullBox};
|
||||
use crate::mir::function::MirModule;
|
||||
use crate::mir::instruction::{BinaryOp, ConstValue, MirInstruction};
|
||||
use std::collections::HashMap;
|
||||
|
||||
include!("mock_impl.in.rs");
|
||||
Reference in New Issue
Block a user