about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-01-19 21:15:32 -0800
committerNiko Matsakis <niko@alum.mit.edu>2012-01-21 19:31:52 -0800
commit556947c47a45db44702251552d4cb10ef8f1eb3f (patch)
tree53b1e3140d5314a771dea561a6af940dd7588818 /src/comp
parent85a3298229e1e9617ff45ab786cf485dcd510ece (diff)
downloadrust-556947c47a45db44702251552d4cb10ef8f1eb3f.tar.gz
rust-556947c47a45db44702251552d4cb10ef8f1eb3f.zip
wrap line
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/middle/shape.rs3
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);