Merge branch 'main' into cl/optsize

This commit is contained in:
xermicus
2025-07-14 22:01:32 +02:00
20 changed files with 698 additions and 38 deletions
@@ -124,6 +124,7 @@ impl FunctionCall {
D: revive_llvm_context::PolkaVMDependency + Clone,
{
let location = self.location;
context.set_debug_location(location.line, 0, None)?;
match self.name {
Name::UserDefined(name) => {
@@ -54,6 +54,7 @@ where
{
fn into_llvm(self, context: &mut revive_llvm_context::PolkaVMContext<D>) -> anyhow::Result<()> {
let binding_pointer = context.build_alloca(context.word_type(), "if_condition");
context.set_debug_location(self.location.line, 0, None)?;
let condition = self
.condition
.into_llvm(&[("todo".to_string(), binding_pointer)], context)?