VM: silly error: should be index * check_r_count, not index + check_r_count
parent
9836d6a1d0
commit
e3c2704986
|
@ -61,7 +61,7 @@ struct gc_info {
|
||||||
return_address_count * scrub_d_count +
|
return_address_count * scrub_d_count +
|
||||||
return_address_count * scrub_r_count +
|
return_address_count * scrub_r_count +
|
||||||
return_address_count * check_d_count;
|
return_address_count * check_d_count;
|
||||||
return base + index + check_r_count;
|
return base + index * check_r_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
cell callsite_gc_roots(cell index) {
|
cell callsite_gc_roots(cell index) {
|
||||||
|
|
Loading…
Reference in New Issue