From b9267e8fbce647dfd1f8b3ecc7f4e4bd3dcf4af6 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Tue, 13 Sep 2011 17:46:28 +0200 Subject: [PATCH] Add missing cases for machine floats in shape.rs --- src/comp/middle/shape.rs | 5 ++--- 1 file 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];