VM: silly error: should be index * check_r_count, not index + check_r_count

db4
Björn Lindqvist 2014-08-30 06:52:53 +02:00 committed by Doug Coleman
parent 9836d6a1d0
commit e3c2704986
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ struct gc_info {
return_address_count * scrub_d_count +
return_address_count * scrub_r_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) {