This commit is contained in:
Edgar 2024-01-15 20:12:15 +01:00
parent bf13468214
commit 19c52009ab
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387

View file

@ -1,13 +1,13 @@
use std::{cell::Cell, collections::HashMap, error::Error};
use std::{collections::HashMap, error::Error};
use bumpalo::Bump;
use edlang_ast::{
ArithOp, AssignStmt, BinaryOp, Constant, Expression, Function, LetStmt, Module,
ModuleStatement, ReturnStmt, Span, Statement, Struct, ValueExpr,
ModuleStatement, ReturnStmt, Statement, Struct, ValueExpr,
};
use edlang_session::Session;
use melior::{
dialect::{arith, cf, func, memref},
dialect::{arith, func, memref},
ir::{
attribute::{FlatSymbolRefAttribute, IntegerAttribute, StringAttribute, TypeAttribute},
r#type::{FunctionType, IntegerType, MemRefType},
@ -16,8 +16,6 @@ use melior::{
},
Context as MeliorContext,
};
use crate::context::Context;
#[derive(Debug, Clone)]
pub struct LocalVar<'ctx, 'parent: 'ctx> {
pub ast_type: edlang_ast::Type,