Mercurial > projects > ldc
diff gen/tollvm.h @ 82:d8dd47ef3973 trunk
[svn r86] Changed the way arguments are given storage. It is now detected if they will need it during semantic passes.
Initial support for debug information. Very limited, but MUCH better than nothing :)
author | lindquist |
---|---|
date | Fri, 02 Nov 2007 01:17:26 +0100 |
parents | 3587401b6eeb |
children | f869c636a113 |
line wrap: on
line diff
--- a/gen/tollvm.h Thu Nov 01 17:27:18 2007 +0100 +++ b/gen/tollvm.h Fri Nov 02 01:17:26 2007 +0100 @@ -46,8 +46,6 @@ llvm::Value* DtoGEPi(llvm::Value* ptr, unsigned i0, const std::string& var, llvm::BasicBlock* bb=NULL); llvm::Value* DtoGEPi(llvm::Value* ptr, unsigned i0, unsigned i1, const std::string& var, llvm::BasicBlock* bb=NULL); -void DtoGiveArgumentStorage(elem* e); - llvm::Value* DtoRealloc(llvm::Value* ptr, const llvm::Type* ty); llvm::Value* DtoRealloc(llvm::Value* ptr, llvm::Value* len); @@ -63,6 +61,7 @@ llvm::ConstantInt* DtoConstUint(unsigned i); llvm::ConstantInt* DtoConstInt(int i); llvm::Constant* DtoConstString(const char*); +llvm::Constant* DtoConstStringPtr(const char* str, const char* section = 0); llvm::Constant* DtoConstBool(bool); void DtoMemCpy(llvm::Value* dst, llvm::Value* src, llvm::Value* nbytes);