mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03:00
Merge branch 'master' into merge-2.061-2.
This commit is contained in:
commit
7974c33c61
1 changed files with 4 additions and 1 deletions
|
@ -1669,7 +1669,10 @@ bool mustDefineSymbol(Dsymbol* s)
|
||||||
if ( !fd->isStaticCtorDeclaration()
|
if ( !fd->isStaticCtorDeclaration()
|
||||||
&& !fd->isStaticDtorDeclaration()
|
&& !fd->isStaticDtorDeclaration()
|
||||||
&& !fd->isUnitTestDeclaration()
|
&& !fd->isUnitTestDeclaration()
|
||||||
&& fd->canInline(true, false, false))
|
// FIXME: Should be canInline(true, false, false), but this
|
||||||
|
// causes a misoptimization in druntime on x86, likely due to
|
||||||
|
// an LLVM bug.
|
||||||
|
&& fd->canInline(true))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue