mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Temporary fix for inlining
This commit is contained in:
@@ -1362,13 +1362,13 @@ int FuncDeclaration::canInline(int hasthis, int hdrscan)
|
||||
#endif
|
||||
isSynchronized() ||
|
||||
isImportedSymbol() ||
|
||||
#if !IN_LLVM
|
||||
//#if !IN_LLVM
|
||||
#if DMDV2
|
||||
closureVars.dim || // no nested references to this frame
|
||||
#else
|
||||
nestedFrameRef || // no nested references to this frame
|
||||
#endif
|
||||
#endif // !IN_LLVM
|
||||
//#endif // !IN_LLVM
|
||||
(isVirtual() && !isFinal())
|
||||
))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user