Fix ldc1 regressions

This commit is contained in:
Alexey Prokhin
2011-09-10 13:24:29 +04:00
parent f3c901af9d
commit 8f4a15c868
2 changed files with 4 additions and 1 deletions

View File

@@ -162,6 +162,9 @@ Statement *AsmStatement::semantic(Scope *sc)
//puts(toChars());
#if DMDV1
sc->func->inlineAsm = true;
#endif
sc->func->hasReturnExp |= 8;
sc->func->inlineStatus = ILSno; // %% not sure