Commit 8080b7a6 authored by John Zhang's avatar John Zhang

Bug fix in Kunshan's code.

parent 10e13ff2
......@@ -1613,7 +1613,7 @@ impl<'lb, 'lvm> BundleLoader<'lb, 'lvm> {
},
ref t => panic!("GETVARPARTIREF {}: Expected hybrid type. actual: {:?}", id, t)
};
let impl_rvtype = self.ensure_iref_or_uptr(refty, is_ptr);
let impl_rvtype = self.ensure_iref_or_uptr(elem_ty_id, is_ptr);
let impl_rv = self.new_ssa(fcb, result_id, impl_rvtype).clone_value();
Instruction {
hdr: hdr,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment