1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-09 15:10:27 +00:00

Update compiler opt

This commit is contained in:
Calvin Rose 2024-05-04 16:14:59 -05:00
parent 3cc3312b7b
commit f582fe1f69

View File

@ -392,7 +392,7 @@ static uint32_t instr_read_operand(Janet x, JanetSysIR *ir) {
return operand;
}
static uint32_t instr_read_field(Janet x, JanetSysIR* ir) {
static uint32_t instr_read_field(Janet x, JanetSysIR *ir) {
if (!janet_checkuint(x)) janet_panicf("expected non-negative field index, got %v", x);
(void) ir; /* Perhaps support syntax for named fields instead of numbered */
uint32_t operand = (uint32_t) janet_unwrap_number(x);