rename llvm-context crate

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2024-05-01 15:45:09 +02:00
parent 9b341853b4
commit 72515254fe
55 changed files with 529 additions and 529 deletions
@@ -108,10 +108,10 @@ impl Expression {
///
pub fn into_llvm<'ctx, D>(
self,
context: &mut era_compiler_llvm_context::EraVMContext<'ctx, D>,
) -> anyhow::Result<Option<era_compiler_llvm_context::EraVMArgument<'ctx>>>
context: &mut revive_llvm_context::EraVMContext<'ctx, D>,
) -> anyhow::Result<Option<revive_llvm_context::EraVMArgument<'ctx>>>
where
D: era_compiler_llvm_context::EraVMDependency + Clone,
D: revive_llvm_context::EraVMDependency + Clone,
{
match self {
Self::Literal(literal) => literal
@@ -149,7 +149,7 @@ impl Expression {
match constant {
Some(constant) => Ok(Some(
era_compiler_llvm_context::EraVMArgument::new_with_constant(
revive_llvm_context::EraVMArgument::new_with_constant(
value, constant,
),
)),
@@ -158,7 +158,7 @@ impl Expression {
}
Self::FunctionCall(call) => Ok(call
.into_llvm(context)?
.map(era_compiler_llvm_context::EraVMArgument::new)),
.map(revive_llvm_context::EraVMArgument::new)),
}
}
}