add another msize test case

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2024-03-26 15:11:39 +01:00
parent 17832855e0
commit ec952fd2cb
4 changed files with 42 additions and 4 deletions
+4 -1
View File
@@ -201,5 +201,8 @@ where
.build_ptr_to_int(heap_start, context.xlen_type(), "heap_start")?,
"heap_size",
)?;
Ok(heap_size.as_basic_value_enum())
Ok(context
.builder()
.build_int_z_extend(heap_size, context.field_type(), "heap_size_extended")?
.as_basic_value_enum())
}
@@ -89,5 +89,5 @@ where
"return_data_copy_memcpy_from_return_data",
)?;
Ok(())
todo!("Build heap GEP to allocate if necessary")
}