File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: f5d604f0c371b17c8d65b471463b819798c88b4c
2
+ refs/heads/master: 8450ab9a2b2cafa9ef4fa624b1843b46a7b41a26
Original file line number Diff line number Diff line change @@ -1407,11 +1407,9 @@ fn dynamic_size_of(&@block_ctxt cx, ty::t t) -> result {
1407
1407
ret rslt( bcx, total_size) ;
1408
1408
}
1409
1409
case ( ty:: ty_ivec ( ?mt) ) {
1410
- auto rs = field_of_tydesc ( cx, mt. ty , false ,
1411
- abi:: tydesc_field_size) ;
1410
+ auto rs = size_of ( cx, mt. ty ) ;
1412
1411
auto bcx = rs. bcx ;
1413
- auto llunitszptr = rs. val ;
1414
- auto llunitsz = bcx. build . Load ( llunitszptr) ;
1412
+ auto llunitsz = rs. val ;
1415
1413
auto llsz = bcx. build . Add ( llsize_of ( T_opaque_ivec ( ) ) ,
1416
1414
bcx. build . Mul ( llunitsz, C_uint ( abi:: ivec_default_length) ) ) ;
1417
1415
ret rslt( bcx, llsz) ;
You can’t perform that action at this time.
0 commit comments