diff options
| -rw-r--r-- | src/comp/middle/shape.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/middle/shape.rs b/src/comp/middle/shape.rs index 27630bb4ada..16849c497df 100644 --- a/src/comp/middle/shape.rs +++ b/src/comp/middle/shape.rs @@ -696,7 +696,8 @@ fn static_size_of_tag(cx: @crate_ctxt, sp: span, t: ty::t) // size, any field must as well. There should be a way to // express that with constrained types. check (type_has_static_size(cx, tup_ty)); - let this_size = llsize_of_real(cx, type_of(cx, sp, tup_ty)); + let this_size = + llsize_of_real(cx, trans::type_of(cx, sp, tup_ty)); if max_size < this_size { max_size = this_size; } } cx.tag_sizes.insert(t, max_size); |
