Mercurial > projects > ldc
comparison gen/arrays.h @ 108:288fe1029e1f trunk
[svn r112] Fixed 'case 1,2,3:' style case statements.
Fixed a bunch of bugs with return/break/continue in loops.
Fixed support for the DMDFE hidden implicit return value variable. This can be needed for some foreach statements where the loop body is converted to a nested delegate, but also possibly returns from the function.
Added std.math to phobos.
Added AA runtime support code, done ground work for implementing AAs.
Several other bugfixes.
author | lindquist |
---|---|
date | Tue, 20 Nov 2007 05:29:20 +0100 |
parents | 027b8d8b71ec |
children | 1700239cab2e |
comparison
equal
deleted
inserted
replaced
107:3efbcc81ba45 | 108:288fe1029e1f |
---|---|
8 | 8 |
9 llvm::Constant* DtoConstArrayInitializer(ArrayInitializer* si); | 9 llvm::Constant* DtoConstArrayInitializer(ArrayInitializer* si); |
10 llvm::Constant* DtoConstSlice(llvm::Constant* dim, llvm::Constant* ptr); | 10 llvm::Constant* DtoConstSlice(llvm::Constant* dim, llvm::Constant* ptr); |
11 llvm::Constant* DtoConstStaticArray(const llvm::Type* t, llvm::Constant* c); | 11 llvm::Constant* DtoConstStaticArray(const llvm::Type* t, llvm::Constant* c); |
12 | 12 |
13 void DtoArrayCopy(DSliceValue* dst, DSliceValue* src); | 13 void DtoArrayCopySlices(DSliceValue* dst, DSliceValue* src); |
14 void DtoArrayCopyToSlice(DSliceValue* dst, DValue* src); | |
14 | 15 |
15 void DtoArrayInit(llvm::Value* l, llvm::Value* r); | 16 void DtoArrayInit(llvm::Value* l, llvm::Value* r); |
16 void DtoArrayInit(llvm::Value* ptr, llvm::Value* dim, llvm::Value* val); | 17 void DtoArrayInit(llvm::Value* ptr, llvm::Value* dim, llvm::Value* val); |
17 void DtoArrayAssign(llvm::Value* l, llvm::Value* r); | 18 void DtoArrayAssign(llvm::Value* l, llvm::Value* r); |
18 void DtoSetArray(llvm::Value* arr, llvm::Value* dim, llvm::Value* ptr); | 19 void DtoSetArray(llvm::Value* arr, llvm::Value* dim, llvm::Value* ptr); |