basic structures work in the jit
This commit is contained in:
@@ -199,6 +199,7 @@ impl<M: Module> Backend<M> {
|
||||
let func_id = match self.defined_functions.entry(interned_name) {
|
||||
hash_map::Entry::Occupied(entry) => *entry.get(),
|
||||
hash_map::Entry::Vacant(vac) => {
|
||||
tracing::warn!(name = ?function_name, "compiling undeclared function");
|
||||
let func_id = self.module.declare_function(
|
||||
function_name,
|
||||
Linkage::Export,
|
||||
|
||||
Reference in New Issue
Block a user