 -    if (!canCollapseChildNames) {
 -      return;
 -    }
--
 +  private void updateFunctionDeclarationAtFunctionNode(Name n) {
+ 
      Ref ref = n.declaration;
      String fnName = ref.node.getString();
-     addStubsForUndeclaredProperties(
-@@ -872,7 +846,6 @@ class CollapseProperties implements CompilerPass {
-    */
-   private int addStubsForUndeclaredProperties(
-       Name n, String alias, Node parent, Node addAfter) {
--    Preconditions.checkState(n.canCollapseUnannotatedChildNames());
-     Preconditions.checkArgument(NodeUtil.isStatementBlock(parent));
-     Preconditions.checkNotNull(addAfter);
-     int numStubs = 0;

diff --git a/src/com/google/javascript/jscomp/CollapseProperties.java b/src/com/google/javascript/jscomp/CollapseProperties.java
index abe01595..b5083826 100644
--- a/src/com/google/javascript/jscomp/CollapseProperties.java
+++ b/src/com/google/javascript/jscomp/CollapseProperties.java
@@ -452,8 +452,8 @@ class CollapseProperties implements CompilerPass {

             n, alias, rvalue,
             varNode, varParent.getChildBefore(varNode), varParent);
-      }
 
-      addStubsForUndeclaredProperties(n, alias, varParent, varNode);
     }
+      addStubsForUndeclaredProperties(n, alias, varParent, varNode);
 
     if (insertedVarNode) {
       if (!varNode.hasChildren()) {
@@ -700,11 +696,7 @@ class CollapseProperties implements CompilerPass {
    *
    * @param n An object representing a global name (e.g. "a")
    */
