From 7070239e7d03fadb8ad60e7e0ba09a85e896a9ec Mon Sep 17 00:00:00 2001 From: Alexey Prokhin Date: Sat, 30 Apr 2011 15:30:57 +0400 Subject: [PATCH] Temporary fix for inlining --- dmd2/inline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmd2/inline.c b/dmd2/inline.c index 8c071521..39b3e7fe 100644 --- a/dmd2/inline.c +++ b/dmd2/inline.c @@ -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()) )) {