Skip to content

Commit 4dfe644

Browse files
committed
Make wire_load_tree_ default to unknown so we can detect when it's not present in a Liberty file.
This is potentially a behavior change, but I think omitting this is rare. I've only seen it in some DTCD Liberty files. In those Liberty libraries, it seems to be expected that the Liberty data is valid for all `WireloadTree` types. Thus it is necessary to distinguish between "wire load tree was specified as 'balanced'" and "wire load tree was not specified".
1 parent 6280635 commit 4dfe644

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

liberty/Liberty.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3041,7 +3041,7 @@ OperatingConditions::OperatingConditions(const char *name) :
30413041
Pvt(0.0, 0.0, 0.0),
30423042
name_(name),
30433043
// Default wireload tree.
3044-
wire_load_tree_(WireloadTree::balanced)
3044+
wire_load_tree_(WireloadTree::unknown)
30453045
{
30463046
}
30473047

0 commit comments

Comments
 (0)