summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index 198a4c21d2..0233bd2368 100644
--- a/compile.c
+++ b/compile.c
@@ -1671,6 +1671,11 @@ iseq_specialized_instruction(yarv_iseq_t *iseq, INSN *iobj)
}
}
}
+
+ if (mid == idSend || mid == id__send__ || mid == id__send ||
+ mid == idFuncall || mid == id__send_bang) {
+ OPERAND_AT(iobj, 3) |= INT2FIX(VM_CALL_SEND_BIT);
+ }
}
return COMPILE_OK;
}