one more fix for XDCTOOLS-414
diff --git a/src/packages/xdc/rov/StateReader.xs b/src/packages/xdc/rov/StateReader.xs
index a7e2c2a..fe9cda4 100644
--- a/src/packages/xdc/rov/StateReader.xs
+++ b/src/packages/xdc/rov/StateReader.xs
@@ -131,13 +131,15 @@
                 + "might have been removed by the linker because they weren't "
                 + "referenced.");
         }
+        else {
+            /* Determine the number and size of the instance objects
+             * from the config */
+            var instSize = mod.useMod.Instance_State.$sizeof();
 
-        /* Determine number and size of the instance objects from the config */
-        var instSize = mod.useMod.Instance_State.$sizeof();
-
-        /* Add the address of each of the static instances. */
-        for (var i = 0; i < numInsts; i++) {
-            mod.staticInstAddrs.$add(instArrAddr + (i * instSize));
+            /* Add the address of each of the static instances. */
+            for (var i = 0; i < numInsts; i++) {
+                mod.staticInstAddrs.$add(instArrAddr + (i * instSize));
+            }
         }
     }
 
@@ -242,8 +244,7 @@
 
 /*
  *  ======== getKey ========
- *  Makes a key out of the instance's address for the module's
- *  instMap.
+ *  Makes a key out of the instance's address for the module's instMap.
  */
 function getKey(addr)
 {