asm: assembler: constpool value indices are now used and enforced

constpool values must be defined in ascending sequence, each index must be greater than the last.
any gaps in the sequence will automatically be filled with null values.
This commit is contained in:
2025-05-15 12:06:39 +01:00
parent 95f58615e0
commit 2845c29c5f
4 changed files with 19 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ struct assembler_scope_type {
enum ivy_status (*s_put_pval)(
struct ivy_assembler *, struct assembler_scope *,
enum ivy_assembler_pval_type, const void *,
enum ivy_assembler_pval_type, size_t, const void *,
ivy_extended_data_key *key);
enum ivy_status (*s_put_xval)(