comparison dmd/cast.c @ 664:eef8ac26c66c

Some missed LLVMDC -> LDC.
author Christian Kamm <kamm incasoftware de>
date Mon, 06 Oct 2008 22:54:08 +0200
parents 6aee82889553
children a26b0c5d5942
comparison
equal deleted inserted replaced
663:6aaa3d3c1183 664:eef8ac26c66c
1181 Type *t = Type::tptrdiff_t; 1181 Type *t = Type::tptrdiff_t;
1182 1182
1183 stride = t1b->nextOf()->size(loc); 1183 stride = t1b->nextOf()->size(loc);
1184 if (!t->equals(t2b)) 1184 if (!t->equals(t2b))
1185 e2 = e2->castTo(sc, t); 1185 e2 = e2->castTo(sc, t);
1186 // LLVMDC: llvm uses typesafe pointer arithmetic 1186 // LDC: llvm uses typesafe pointer arithmetic
1187 #if !IN_LLVM 1187 #if !IN_LLVM
1188 if (t1b->next->isbit()) 1188 if (t1b->next->isbit())
1189 // BUG: should add runtime check for misaligned offsets 1189 // BUG: should add runtime check for misaligned offsets
1190 // This perhaps should be done by rewriting as &p[i] 1190 // This perhaps should be done by rewriting as &p[i]
1191 // and letting back end do it. 1191 // and letting back end do it.