Skip to content

Commit

Permalink
bindattrs_s can be spesh'd, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Mar 10, 2015
1 parent e8d891c commit f1c138f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/6model/reprs/P6opaque.c
Expand Up @@ -1499,7 +1499,8 @@ static void spesh(MVMThreadContext *tc, MVMSTable *st, MVMSpeshGraph *g, MVMSpes
}
break;
}
case MVM_OP_bindattr_s: {
case MVM_OP_bindattr_s:
case MVM_OP_bindattrs_s: {
MVMSpeshFacts *ch_facts = MVM_spesh_get_and_use_facts(tc, g, ins->operands[1]);
MVMString *name = spesh_attr_name(tc, g, ins->operands[2], opcode == MVM_OP_bindattrs_s);
if (name && ch_facts->flags & MVM_SPESH_FACT_KNOWN_TYPE && ch_facts->type) {
Expand Down

0 comments on commit f1c138f

Please sign in to comment.