mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-21 15:23:13 +01:00
[svn r151] fixed #29: out contracts work now
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -949,7 +949,6 @@ void LabelStatement::toIR(IRState* p)
|
||||
LOG_SCOPE;
|
||||
|
||||
assert(tf == NULL);
|
||||
assert(!isReturnLabel);
|
||||
|
||||
llvm::BasicBlock* oldend = gIR->scopeend();
|
||||
if (llvmBB)
|
||||
|
||||
Reference in New Issue
Block a user