mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
[svn r47] fixed a problem with gdc 4.1
This commit is contained in:
@@ -146,10 +146,10 @@ void LLVM_DtoArrayInit(llvm::Value* ptr, llvm::Value* dim, llvm::Value* val)
|
||||
{
|
||||
const llvm::Type* t = ptr->getType()->getContainedType(0);
|
||||
|
||||
std::vector<llvm::Value*> args(3,NULL);
|
||||
args[0] = ptr;
|
||||
args[1] = dim;
|
||||
args[2] = val;
|
||||
std::vector<llvm::Value*> args;
|
||||
args.push_back(ptr);
|
||||
args.push_back(dim);
|
||||
args.push_back(val);
|
||||
|
||||
const char* funcname = NULL;
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Value.h"
|
||||
|
||||
#include "llvm/Target/TargetData.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user