aboutsummaryrefslogtreecommitdiffstats
path: root/common/router1.cc
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-26 21:00:26 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-26 21:00:26 -0700
commitd5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33 (patch)
tree0f641516654085dd24bb69889ef466041234f684 /common/router1.cc
parentf45e688354c13f38bda3ba4064587880a25980fe (diff)
parente5acd80247264fed41dfc1e7e07efa8a10a67fae (diff)
downloadnextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.tar.gz
nextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.tar.bz2
nextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.zip
Merge remote-tracking branch 'origin/master' into redist_slack
Diffstat (limited to 'common/router1.cc')
-rw-r--r--common/router1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/router1.cc b/common/router1.cc
index dae8d8cb..2ae54245 100644
--- a/common/router1.cc
+++ b/common/router1.cc
@@ -813,15 +813,15 @@ bool router1(Context *ctx)
log_info("Checksum: 0x%08x\n", ctx->checksum());
#ifndef NDEBUG
ctx->check();
- ctx->unlock();
#endif
compute_fmax(ctx, true /* print_fmax */, true /* print_path */);
+ ctx->unlock();
return true;
} catch (log_execution_error_exception) {
#ifndef NDEBUG
ctx->check();
- ctx->unlock();
#endif
+ ctx->unlock();
return false;
}
}