Project

General

Profile

Bug #1285 » iseq.patch

cfis (Charlie Savage), 03/13/2009 05:23 PM

View differences:

iseq.c (working copy)
}
/* show each line */
for (i = 0; i < size;) {
for (i = 0; i < (int)size;) {
i += rb_iseq_disasm_insn(str, iseq, i, iseqdat, child);
}
......
iseq->iseq = ALLOC_N(VALUE, iseq->iseq_size);
for (i=0; i<iseq->iseq_size; i+=2) {
for (i=0; i<(int)iseq->iseq_size; i+=2) {
iseq->iseq[i] = BIN(opt_call_c_function);
iseq->iseq[i+1] = (VALUE)func;
}
(1-1/2)