Commit e4671992 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Bug for for multi-architecture mode; not all types have an associated

architecture, be sure to skip those when computing counts.
parent d3a7a4a3
......@@ -370,9 +370,12 @@ if (IsMultiPCArchitecture()) {
foreach my $type (keys(%{ $vtop->types() })) {
$type = NodeType->Lookup($type);
$architectures{$type->architecture()} +=
# If no architecture defined for this type, then we do not count.
if (defined($type->architecture())) {
$architectures{$type->architecture()} +=
$ordered += $vtop->types()->{$type->type()};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment