mirror of
https://github.com/janet-lang/janet
synced 2025-05-06 01:14:13 +00:00
Update compiler opt
This commit is contained in:
parent
3cc3312b7b
commit
f582fe1f69
@ -392,7 +392,7 @@ static uint32_t instr_read_operand(Janet x, JanetSysIR *ir) {
|
|||||||
return operand;
|
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);
|
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 */
|
(void) ir; /* Perhaps support syntax for named fields instead of numbered */
|
||||||
uint32_t operand = (uint32_t) janet_unwrap_number(x);
|
uint32_t operand = (uint32_t) janet_unwrap_number(x);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user