Compare commits

..

1 Commits

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

View File

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