Temporary fix for inlining

This commit is contained in:
Alexey Prokhin
2011-04-30 15:30:57 +04:00
parent 73e498ace1
commit 7070239e7d

View File

@@ -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())
))
{