comparison 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
comparison
equal deleted inserted replaced
117:54955003765b 118:54585ad7e426
162 Int = new DInteger("int", 32, false); 162 Int = new DInteger("int", 32, false);
163 UInt = new DInteger("uint", 32, true); 163 UInt = new DInteger("uint", 32, true);
164 Long = new DInteger("long", 64, false); 164 Long = new DInteger("long", 64, false);
165 ULong = new DInteger("ulong", 64, true); 165 ULong = new DInteger("ulong", 64, true);
166 166
167 Float = new DReal("float", 32); 167 Float = new DReal("float", 32);
168 Double = new DReal("double", 64); 168 Double = new DReal("double", 64);
169 Real = Double; 169 Real = new DReal("real", 80);
170 170
171 Char = new DInteger("char", 8, true); 171 Char = new DInteger("char", 8, true);
172 WChar = new DInteger("wchar", 16, true); 172 WChar = new DInteger("wchar", 16, true);
173 DChar = new DInteger("dchar", 32, true); 173 DChar = new DInteger("dchar", 32, true);
174 } 174 }