Fix compilation of ldc1

This commit is contained in:
Alexey Prokhin
2011-01-04 20:59:39 +03:00
parent ceeff57700
commit d1ff4e9fd3
4 changed files with 19 additions and 3 deletions

View File

@@ -34,6 +34,8 @@ typedef DValue elem;
namespace llvm {
class LLVMContext;
class Module;
class GlobalVariable;
class PATypeHolder;
}
#else
@@ -194,8 +196,11 @@ struct Module : Package
void buildTargetFiles(bool singleObj);
File* buildFilePath(const char* forcename, const char* path, const char* ext);
Module *isModule() { return this; }
llvm::GlobalVariable* moduleInfoSymbol();
bool llvmForceLogging;
llvm::GlobalVariable* moduleInfoVar;
llvm::PATypeHolder* moduleInfoType;
// array ops emitted in this module already
StringTable arrayfuncs;