Commit Graph

  • e86a87ab6d Complete switch to extern(D) _d_invariant. David Nadlinger 2013-06-17 00:03:52 +02:00
  • 40926eaba5 Add detection of used Linux distribution. kai 2013-06-16 22:17:57 +02:00
  • 0206269230 Ignore StaticAssert in DtoDeclarationExp. David Nadlinger 2013-06-16 21:16:51 +02:00
  • cfd5c052fe Fix LLVM 3.1 build. David Nadlinger 2013-06-16 20:49:23 +02:00
  • 4774745f44 Do not try to generate metadata for unresolved types. David Nadlinger 2013-06-16 20:23:07 +02:00
  • 23fd0c8116 Add debug info for enums. kai 2013-06-16 20:21:53 +02:00
  • a0ffaf56bf Do not codegen aggregate types from within debug info generation. David Nadlinger 2013-06-16 19:16:50 +02:00
  • e556882be4 Simplify code for LLVM 3.4. kai 2013-06-16 17:59:52 +02:00
  • 480d05c76e Removed unused and broken template instantiation origin detection. David Nadlinger 2013-06-16 18:21:36 +02:00
  • 683294cec9 Fix a typo in Linux code. kai 2013-06-16 17:57:25 +02:00
  • 6a1fef81f4 Test suite updates. David Nadlinger 2013-06-16 01:06:20 +02:00
  • 897c4382af Do not re-codegen struct literals on taking address of globals. David Nadlinger 2013-06-16 01:02:46 +02:00
  • 68798f06c8 Accept '.dd' pure DDoc files. David Nadlinger 2013-06-16 00:39:47 +02:00
  • 1d9804d03c Use '__ModuleInfoZ' for ModuleInfos, like DMD does. David Nadlinger 2013-06-16 00:17:46 +02:00
  • acd508945a Allow multiple declarations to share the same mangled name/LLVM global. David Nadlinger 2013-06-16 00:12:02 +02:00
  • 0305d3bce2 Never make external variables something else than external. David Nadlinger 2013-06-15 23:22:34 +02:00
  • 46b6fdd531 Implement '-main'. David Nadlinger 2013-06-15 23:09:59 +02:00
  • bed6243481 LDC does not support -transition yet. David Nadlinger 2013-06-15 22:57:57 +02:00
  • 08f27c0b6d Test suite updates. David Nadlinger 2013-06-15 22:55:28 +02:00
  • de1c3b7f01 Merge pull request #397 from redstar/llvm34 Kai Nacke 2013-06-15 11:54:12 -07:00
  • f1c71e4bac Make ldc compatible with LLVM 3.4 kai 2013-06-14 06:50:38 +02:00
  • fe455fe1a8 Merge pull request #400 from redstar/ldmd34 Kai Nacke 2013-06-15 10:51:37 -07:00
  • 9f921b25d9 Make ldmd compatible with LLVM 3.4 kai 2013-06-15 19:13:45 +02:00
  • 03ec8eefbd Merge pull request #399 from redstar/travis Kai Nacke 2013-06-15 09:18:44 -07:00
  • 2b4744f2f2 Add LLVM 3.2/3/4 to Travis CI. kai 2013-06-15 15:02:41 +02:00
  • 2e0941c194 Add names for globals to make LDC compile against LLVM 3.1. David Nadlinger 2013-06-15 16:16:47 +02:00
  • 32cf5318a4 Add llvm-config-3.4 to list of llvm-config names. kai 2013-06-15 16:12:09 +02:00
  • e9d7c10109 Align our copy of TypeInfo code to upstream DMD version. David Nadlinger 2013-06-15 15:11:17 +02:00
  • a7882a8ae6 Fix another few issues caused by the upstream v2.063.1 retagging. David Nadlinger 2013-06-15 15:07:06 +02:00
  • 0e49a57a5f More upstream DMD alignment. David Nadlinger 2013-06-15 15:06:49 +02:00
  • c813ccdcf7 Small debug diagnostics improvements. David Nadlinger 2013-06-15 13:14:14 +02:00
  • 66e9427f88 Backport StructLiteralExp::toChars infinite recursion fix. David Nadlinger 2013-06-15 13:13:37 +02:00
  • 7874c95cdc Remove unused StructLiteralExp::constType variable. David Nadlinger 2013-06-15 13:11:36 +02:00
  • bca5dac669 Fixed ClassReferenceExp codegen, handle self-referential literals. David Nadlinger 2013-06-15 13:10:43 +02:00
  • 041e8e8b54 Remove LDC-specific .classinfo AST rewrite. David Nadlinger 2013-06-14 21:49:44 +02:00
  • 3035735bc9 FuncDeclaration::canInline diff reduction. David Nadlinger 2013-06-14 19:11:43 +02:00
  • 4f1374e211 Fold in testsuite merge fixes. David Nadlinger 2013-06-14 17:44:08 +02:00
  • eb14970fd0 Minor nested context doc comment improval. David Nadlinger 2013-06-14 17:10:50 +02:00
  • 349305cd1d Fix array op argument evaluation order regression. David Nadlinger 2013-06-14 17:02:41 +02:00
  • 9dc387aa91 Do not invoke postblit twice on struct literal creation. David Nadlinger 2013-06-14 16:42:34 +02:00
  • 86563a2ee1 Allow casting AAs to bool. David Nadlinger 2013-06-14 16:01:09 +02:00
  • 9c0514a9b1 Correctly load context for nested class members with own nested context. David Nadlinger 2013-06-14 15:49:15 +02:00
  • 4901877d24 Handle side-effects in TupleExp::e0. David Nadlinger 2013-06-13 19:08:59 +02:00
  • 83415eeeb8 Minor debug log fixes. David Nadlinger 2013-06-13 19:06:16 +02:00
  • cbe2c45b83 Fold in rudimentary rt.sections implementation. David Nadlinger 2013-06-13 18:46:37 +02:00
  • c64c4f479a Handle static array typed SliceExps. David Nadlinger 2013-06-13 18:45:07 +02:00
  • 48f784eda8 Fold in out-of-source test build adaption changes. David Nadlinger 2013-06-13 00:17:39 +02:00
  • 95b34c3625 zext bool to i8 in makeLValue. David Nadlinger 2013-06-12 20:39:34 +02:00
  • bc910004a4 Adapt codegen to removal of old _d_invariant from druntime. David Nadlinger 2013-06-12 20:34:50 +02:00
  • 4c788699ae Initial, incomplete ClassReferenceExp::toConstElem implementation. David Nadlinger 2013-06-12 18:10:17 +02:00
  • b1465ae7e3 Extended DtoLinkage comments. David Nadlinger 2013-06-12 18:07:07 +02:00
  • d3f89f81a8 Never emit naked functions as available_externally. David Nadlinger 2013-06-12 18:04:44 +02:00
  • d7526157ab Expression::optimize everything to resolve manifest constants in inline asm. David Nadlinger 2013-06-11 23:20:10 +02:00
  • 2ebf677661 Handle explicit AddrExp for naked asm memory references. David Nadlinger 2013-06-11 21:54:19 +02:00
  • a9e620d428 Work around invalid special ref var initializations in 2.063. David Nadlinger 2013-06-11 21:46:59 +02:00
  • fd3c696d94 Call Expression::init() during startup. David Nadlinger 2013-06-11 21:31:47 +02:00
  • 33245282ef More trivial DMD diff reduction. David Nadlinger 2013-06-11 02:39:57 +02:00
  • 24e3abff34 Unions are always static since Issue 9244. David Nadlinger 2013-06-11 02:14:39 +02:00
  • 6898d0fa4a Removed last bit of interpret.c diff. David Nadlinger 2013-06-11 02:14:01 +02:00
  • ab7ffa9988 Removed obsolete importprot members. David Nadlinger 2013-06-11 02:00:27 +02:00
  • 4d3f9333c6 Never make functions without body available_externally. David Nadlinger 2013-06-07 19:27:52 +02:00
  • 292caa1438 Merge the 2.063 frontend. David Nadlinger 2013-06-07 05:17:29 +02:00
  • 981a6af17e Remove dead declaration. David Nadlinger 2013-06-12 20:09:55 +02:00
  • 5b5ad8e0f7 Add some no-op virtual destructors to silence GCC warning. David Nadlinger 2013-06-11 23:22:50 +02:00
  • 9a016a1002 Refactor struct initializers codegen. David Nadlinger 2013-06-12 15:36:15 +02:00
  • 2cebe6408c Divided ir/irtypestruct.* in general aggregate and struct specific part. David Nadlinger 2013-06-12 14:51:22 +02:00
  • abc6c147dc Fix potential latent struct initialization bug. David Nadlinger 2013-06-12 12:14:04 +02:00
  • 5dadec2e70 Remove raw address from log output. David Nadlinger 2013-06-12 11:48:54 +02:00
  • 55d7fc708e Remove leftover declaration. David Nadlinger 2013-06-12 11:45:47 +02:00
  • f2f3c751b3 Renamed IrStruct to IrAggr, as it is also used for classes. David Nadlinger 2013-06-12 11:40:30 +02:00
  • 28f39cbdad Remove superfluous Expression::toConstElem overrides. David Nadlinger 2013-06-11 23:30:38 +02:00
  • e0d78ef0e3 Make irtype.h compile without needing other includes first. David Nadlinger 2013-06-12 14:50:46 +02:00
  • 39637c844f Merge pull request #395 from klickverbot/remove-disableoptimization David Nadlinger 2013-06-11 11:34:35 -07:00
  • 9ad88ef713 Remove CastExp::disableOptimization. David Nadlinger 2013-06-11 18:14:13 +02:00
  • 354e2713e6 Merge pull request #391 from klickverbot/symoffexp David Nadlinger 2013-06-10 16:35:04 -07:00
  • 978c2c1b6a Re-enable SymOffExp and remove associated LLVM-only modifications. David Nadlinger 2013-06-10 23:07:06 +02:00
  • b389a3b791 Add virtual destructor to EnclosingHandler to silence warnings. David Nadlinger 2013-06-11 00:12:29 +02:00
  • f5e276d6a6 Revert meaning of AddExp/MinExp for pointers to DMD default. David Nadlinger 2013-06-10 19:09:53 +02:00
  • 049f784e5f Remove extra semicolons after macro invocation. David Nadlinger 2013-06-10 18:48:10 +02:00
  • bf0e03df98 Also avoid i1 in TupleExp::toElem. David Nadlinger 2013-06-10 19:49:52 +02:00
  • f7aac5201b Remove unused extra argument to overload checking functions. David Nadlinger 2013-06-07 21:23:19 +02:00
  • 4971321caf Revert "Add debug info for enums." David Nadlinger 2013-06-07 21:20:14 +02:00
  • bf4d679e1a More trivial upstream alignment. David Nadlinger 2013-06-07 19:44:04 +02:00
  • dcfc61cf3f Merge pull request #386 from klickverbot/store-bool-as-i8 David Nadlinger 2013-06-07 10:32:50 -07:00
  • 001a39642f Add debug info for enums. kai 2013-06-07 06:43:26 +02:00
  • 848dee32d4 Store bools as i8. David Nadlinger 2013-06-06 21:14:46 +02:00
  • 7e92984ebe Downgraded accepts-invalid workaround error to assertion. David Nadlinger 2013-06-06 21:23:35 +02:00
  • 946156742c Detab RTTIBuilder. David Nadlinger 2013-06-06 21:14:01 +02:00
  • 4369776b27 Minor DVarValue refactoring. David Nadlinger 2013-06-06 20:37:33 +02:00
  • c7c1c25f15 DValue: struct->class. David Nadlinger 2013-06-06 20:33:17 +02:00
  • f35a4507d3 DValue: Do not uselessly inherit from Object. David Nadlinger 2013-06-06 19:31:44 +02:00
  • b2f2afad29 LDMD: Made error message on compiler execution error clearer. David Nadlinger 2013-06-07 03:15:14 +02:00
  • 187899b5e6 Avoid emitting invalid IR for function type TypeInfo metadata. David Nadlinger 2013-06-07 02:58:04 +02:00
  • 43e27d0dd1 Remove USE_METADATA. David Nadlinger 2013-06-07 02:48:53 +02:00
  • 9fbad3c4ba Removed tautological checks. David Nadlinger 2013-06-07 02:45:44 +02:00
  • af699bd76e Rename TD_Confirm to TD_TypeInfo. David Nadlinger 2013-06-07 02:41:10 +02:00
  • 1c883c5071 Do not generate invalid memcpy() for struct self assignment. David Nadlinger 2013-06-07 02:17:39 +02:00
  • 63759239fd Minor array copy refactoring. David Nadlinger 2013-06-07 02:10:14 +02:00
  • a8ae435c69 Remove bogous DtoMemCpy assertion. David Nadlinger 2013-06-07 02:07:34 +02:00
  • 23e21bedbb Merge branch 'vectordi' kai 2013-06-06 08:20:45 +02:00