Incremental function compilation
This commit is contained in:
@@ -24,7 +24,6 @@ bitflags! {
|
||||
|
||||
#[derive(Debug, Display, Clone, Copy, From, TryInto, PartialEq, Eq, Hash)]
|
||||
pub enum Value<'l> {
|
||||
Uninit,
|
||||
#[display("{_0}")]
|
||||
Constant(AnyConst<'l>),
|
||||
#[display("{_0}")]
|
||||
@@ -47,7 +46,6 @@ impl<'l> Value<'l> {
|
||||
Value::Constant(v) => v.ty(),
|
||||
Value::Instruction(v) => v.value_ty(),
|
||||
Value::Parameter(i, f) => f.ty.par_t[*i],
|
||||
Value::Uninit => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user