Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Nov 4, 2023
1 parent 61703c6 commit 8ad93b1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -3933,10 +3933,6 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj)
switch (vm_ci_mid(ci)) {
case idNew:
iobj->insn_id = BIN(opt_new);
fprintf(stderr, "operand_size = %d\n", iobj->operand_size);
// TODO: add a second call_data for `#initialize`
//
// const struct rb_callinfo * new_ci = (struct rb_callinfo *)iobj->operands[0];
iobj->operands[1] = (VALUE)new_callinfo(iseq, idInitialize, vm_ci_argc(ci), vm_ci_flag(ci) | VM_CALL_FCALL, vm_ci_kwarg(ci), FALSE);
break;
default:
Expand Down

0 comments on commit 8ad93b1

Please sign in to comment.