Mercurial > projects > ldc
comparison gen/runtime.c @ 4:e116aa1488e6 trunk
[svn r8] changed backend includes to always use the gen/<foo>.h prefix
fixed passing string literals as array parameters
few other fixes
moved some array routines into gen/arrays
author | lindquist |
---|---|
date | Mon, 03 Sep 2007 17:34:30 +0200 |
parents | c53b6e3fe49a |
children | 3cfcb944304e |
comparison
equal
deleted
inserted
replaced
3:069cf4b0ec67 | 4:e116aa1488e6 |
---|---|
2 | 2 |
3 #include "llvm/Module.h" | 3 #include "llvm/Module.h" |
4 #include "llvm/Bitcode/ReaderWriter.h" | 4 #include "llvm/Bitcode/ReaderWriter.h" |
5 #include "llvm/Support/MemoryBuffer.h" | 5 #include "llvm/Support/MemoryBuffer.h" |
6 | 6 |
7 #include "runtime.h" | |
8 #include "logger.h" | |
9 | |
10 #include "root.h" | 7 #include "root.h" |
11 #include "mars.h" | 8 #include "mars.h" |
9 | |
10 #include "gen/runtime.h" | |
11 #include "gen/logger.h" | |
12 | 12 |
13 static llvm::Module* M = NULL; | 13 static llvm::Module* M = NULL; |
14 static bool runtime_failed = false; | 14 static bool runtime_failed = false; |
15 | 15 |
16 bool LLVM_D_InitRuntime() | 16 bool LLVM_D_InitRuntime() |