Fixed compilation of functions that does not have return statement but contain inline asm

This commit is contained in:
Alexey Prokhin
2011-07-19 22:22:49 +04:00
parent 06baaacdc0
commit 79edefdc37
3 changed files with 5 additions and 7 deletions

View File

@@ -93,7 +93,6 @@ FuncDeclaration::FuncDeclaration(Loc loc, Loc endloc, Identifier *id, StorageCla
isArrayOp = false;
allowInlining = false;
availableExternally = true; // assume this unless proven otherwise
inlineAsm = true;
// function types in ldc don't merge if the context parameter differs
// so we actually don't care about the function declaration, but only