Skip to content

Commit b667014

Browse files
committed
Revert "[libs][ligraph] raise error if segment length doesn't match the one in architectureile"
This reverts commit c768992.
1 parent 1b00eb1 commit b667014

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

libs/librrgraph/src/io/rr_graph_uxsdcxx_serializer.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,13 +1357,7 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
13571357
segment->name.c_str(), name);
13581358
}
13591359
}
1360-
inline void set_segment_length(int length, const t_segment_inf*& segment) final {
1361-
if (segment->length != length) {
1362-
report_error(
1363-
"Architecture file does not match RR graph's length: arch uses %d, RR graph uses %d",
1364-
segment->length, length);
1365-
}
1366-
}
1360+
inline void set_segment_length(int /*length*/, const t_segment_inf*& /*segment*/) final {}
13671361
inline uxsd::enum_segment_res_type get_segment_res_type(const t_segment_inf*& segment) final {
13681362
return to_uxsd_segment_res_type(segment->res_type);
13691363
}

0 commit comments

Comments
 (0)