KOS_OP_MATCH_TYPE_VAR / KOS_OP_MATCH_TYPE_FAST
Style: EXTRA (LABEL, VAR) on
MATCH_TYPE_VAR, (LABEL, FASTVAR) onMATCH_TYPE_FAST: label, type.Stack:
[..., e]->[..., e]; jump toa0on a miss,eleft either way.Semantics:
eread throughDatummust be an instance of the type in the variablea1, read by name on the_VARform and by fast index on the_FASTform.Compiler form: Emitted by the match compiler for a type test and for the instance check of a class pattern with no positional fields; the
_VARform pre-compile, the_FASTtwin onceconvert_fasthas lowered the variable.