about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-09-13 17:46:28 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-09-13 17:46:28 +0200
commitb9267e8fbce647dfd1f8b3ecc7f4e4bd3dcf4af6 (patch)
tree756e5839e44ca8ec0bc680b296e0d47f659ce059 /src
parent577d6dd6022facc6507d8339cf59caa745964cd1 (diff)
downloadrust-b9267e8fbce647dfd1f8b3ecc7f4e4bd3dcf4af6.tar.gz
rust-b9267e8fbce647dfd1f8b3ecc7f4e4bd3dcf4af6.zip
Add missing cases for machine floats in shape.rs
Diffstat (limited to 'src')
-rw-r--r--src/comp/middle/shape.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/comp/middle/shape.rs b/src/comp/middle/shape.rs
index 973063207b2..5a213e31ca5 100644
--- a/src/comp/middle/shape.rs
+++ b/src/comp/middle/shape.rs
@@ -313,9 +313,8 @@ fn shape_of(ccx: @crate_ctxt, t: ty::t, ty_param_map: [uint]) -> [u8] {
       ty::ty_machine(ast::ty_u64.) { s += [shape_u64]; }
       ty::ty_machine(ast::ty_i64.) { s += [shape_i64]; }
 
-
-
-
+      ty::ty_machine(ast::ty_f32.) { s += [shape_f32]; }
+      ty::ty_machine(ast::ty_f64.) { s += [shape_f64]; }
 
       ty::ty_str. {
         s += [shape_vec];