Rebase fixes

This commit is contained in:
Mark Simulacrum 2016-12-18 17:31:54 -07:00
parent 63a0d85457
commit f9f1406eef
1 changed files with 0 additions and 2 deletions

View File

@ -567,10 +567,8 @@ fn struct_field_ptr<'a, 'tcx>(
ix: usize,
needs_cast: bool
) -> ValueRef {
let ccx = bcx.ccx();
let fty = fields[ix];
let ccx = bcx.ccx();
let ll_fty = type_of::in_memory_type_of(ccx, fty);
let ptr_val = if needs_cast {
let fields = st.field_index_by_increasing_offset().map(|i| {