diff sema/DType.d @ 118:54585ad7e426

Added the DType -> llvm type mapping for some more types
author Anders Halager <halager@gmail.com>
date Sun, 25 May 2008 18:24:16 +0200
parents 0cd8d6ab3f89
children c0b531362ca6
line wrap: on
line diff
--- a/sema/DType.d	Sun May 25 18:20:13 2008 +0200
+++ b/sema/DType.d	Sun May 25 18:24:16 2008 +0200
@@ -164,9 +164,9 @@
         Long   = new DInteger("long",   64, false);
         ULong  = new DInteger("ulong",  64, true);
 
-        Float  = new DReal("float", 32);
+        Float  = new DReal("float",  32);
         Double = new DReal("double", 64);
-        Real   = Double;
+        Real   = new DReal("real",   80);
 
         Char   = new DInteger("char",    8, true);
         WChar  = new DInteger("wchar",  16, true);