Mercurial > projects > ldc
comparison dmd/mars.c @ 486:a34078905d01
Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in.
Reimplemented support for nested functions/class using a new approach.
Added error on taking address of intrinsic.
Fixed problems with the ->syntaxCopy of TypeFunction delegate exp.
Removed DtoDType and replaced all uses with ->toBasetype() instead.
Removed unused inplace stuff.
Fixed a bunch of issues in the runtime unittests, not complete yet.
Added mini tests.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 10 Aug 2008 08:37:38 +0200 |
parents | 1e96c742be5a |
children | 6aee82889553 |
comparison
equal
deleted
inserted
replaced
485:50f6e2337a6b | 486:a34078905d01 |
---|---|
309 // Predefine version identifiers | 309 // Predefine version identifiers |
310 #if IN_LLVM | 310 #if IN_LLVM |
311 VersionCondition::addPredefinedGlobalIdent("LLVM"); | 311 VersionCondition::addPredefinedGlobalIdent("LLVM"); |
312 VersionCondition::addPredefinedGlobalIdent("LLVMDC"); | 312 VersionCondition::addPredefinedGlobalIdent("LLVMDC"); |
313 #endif | 313 #endif |
314 | |
314 #if _WIN32 | 315 #if _WIN32 |
315 VersionCondition::addPredefinedGlobalIdent("Windows"); | 316 VersionCondition::addPredefinedGlobalIdent("Windows"); |
316 VersionCondition::addPredefinedGlobalIdent("Win32"); | 317 VersionCondition::addPredefinedGlobalIdent("Win32"); |
317 VersionCondition::addPredefinedGlobalIdent("mingw32"); | 318 VersionCondition::addPredefinedGlobalIdent("mingw32"); |
318 global.params.isWindows = 1; | 319 global.params.isWindows = 1; |