[svn r151] fixed #29: out contracts work now

This commit is contained in:
Christian Kamm
2008-03-10 19:29:39 +01:00
parent b0a44173dc
commit 1af2b2169a
2 changed files with 1 additions and 2 deletions

View File

@@ -261,7 +261,7 @@ int main(int argc, char *argv[])
global.params.useAssert = 0;
global.params.useInvariants = 0;
global.params.useIn = 1;
global.params.useOut = 0;
global.params.useOut = 1;
global.params.useArrayBounds = 0;
global.params.useSwitchError = 0;
global.params.useInline = 0; // this one messes things up to a point where codegen breaks

View File

@@ -949,7 +949,6 @@ void LabelStatement::toIR(IRState* p)
LOG_SCOPE;
assert(tf == NULL);
assert(!isReturnLabel);
llvm::BasicBlock* oldend = gIR->scopeend();
if (llvmBB)