Mercurial > projects > ldc
diff gen/arrays.h @ 244:a95056b3c996 trunk
[svn r261] Fixed debug info for integer and floating local variables, can now be inspected in GDB.
Did a lot of smaller cleans up here and there.
Replaced more llvm::Foo with LLFoo for common stuff.
Split up tollvm.cpp.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 09:37:08 +0200 |
parents | 9760f54af0b7 |
children | a3b7c19c866c |
line wrap: on
line diff
--- a/gen/arrays.h Mon Jun 09 03:02:14 2008 +0200 +++ b/gen/arrays.h Mon Jun 09 09:37:08 2008 +0200 @@ -9,7 +9,7 @@ LLConstant* DtoConstArrayInitializer(ArrayInitializer* si); LLConstant* DtoConstSlice(LLConstant* dim, LLConstant* ptr); -LLConstant* DtoConstStaticArray(const llvm::Type* t, LLConstant* c); +LLConstant* DtoConstStaticArray(const LLType* t, LLConstant* c); void DtoArrayCopySlices(DSliceValue* dst, DSliceValue* src); void DtoArrayCopyToSlice(DSliceValue* dst, DValue* src); @@ -35,7 +35,7 @@ LLValue* DtoDynArrayIs(TOK op, LLValue* l, LLValue* r); -LLValue* DtoArrayCastLength(LLValue* len, const llvm::Type* elemty, const llvm::Type* newelemty); +LLValue* DtoArrayCastLength(LLValue* len, const LLType* elemty, const LLType* newelemty); LLValue* DtoArrayLen(DValue* v); LLValue* DtoArrayPtr(DValue* v);