Don't include param names when collecting extern vars.
Fixes 0.1% code-size regression introduced by my earlier change.
@@ -4916,8 +4916,10 @@ public final class NodeUtil {
externsRefs.process(externs);
ImmutableSet.Builder<String> externsNames = ImmutableSet.builder();
for (Var v : externsRefs.getAllSymbols()) {
+ if (!v.isParam()) {
externsNames.add(v.getName());
}
+ }
return externsNames.build();
}
}
