commit | b8ee6af7560e18b8c5c9a0ca18d640b66e083260 | [log] [tgz] |
---|---|---|
author | Ang Li <leon575777642@gmail.com> | Fri Oct 18 12:12:05 2019 -0400 |
committer | kmurray <kmurray@users.noreply.github.com> | Fri Oct 18 16:57:43 2019 -0400 |
tree | 8bdfe322b97fa33f49d5f18ce97c9e5b33142d5f | |
parent | a97cada08c3f0e3dd58b42a8fb17a6e5b60f329e [diff] |
Avoid global routing messing up FASM generation
diff --git a/utils/fasm/src/fasm.cpp b/utils/fasm/src/fasm.cpp index 4f1becb..d6d1acc 100644 --- a/utils/fasm/src/fasm.cpp +++ b/utils/fasm/src/fasm.cpp
@@ -605,6 +605,7 @@ for(const auto &trace : route_ctx.trace) { t_trace *head = trace.head; + if (!head) continue; t_rt_node* root = traceback_to_route_tree(head); walk_route_tree(root); free_route_tree(root);