Compare commits

..

1 Commits

Author SHA1 Message Date
David Mak 7a5dd32773 core: Add ArrayLikeValue
For exposing LLVM values that can be accessed like an array.
2024-03-21 21:09:00 +08:00
1 changed files with 1 additions and 2 deletions

View File

@ -687,8 +687,7 @@ fn call_ndarray_flatten_index_impl<'ctx, G, Indices>(
) -> IntValue<'ctx> ) -> IntValue<'ctx>
where where
G: CodeGenerator + ?Sized, G: CodeGenerator + ?Sized,
Indices: ArrayLikeIndexer<'ctx>, Indices: ArrayLikeIndexer<'ctx>, {
{
let llvm_i32 = ctx.ctx.i32_type(); let llvm_i32 = ctx.ctx.i32_type();
let llvm_usize = generator.get_size_type(ctx.ctx); let llvm_usize = generator.get_size_type(ctx.ctx);