KOS_OP_SWITCH_EQ_CONST
Style: EXTRA. Schema
(LABEL, CONST, NOARG, NOARG).Stack:
[..., s]. Compares == cpool[a1]withPy_EQ.Match: pop
s;pc = a0.Mismatch: fall through; stack unchanged (
sstill TOS).
Compiler form: tuple arg
("label", const_value, 0, 0)pre-compile; post-compile row stores pc ina0and constant index ina1.Implementation:
koskari/lib/opcode/SWITCH_EQ_CONST.c