title: How to make closure compiler to remove all dead code with advanced optimization in larger projects?
body: <p>The following code:</p>
  
  <pre><code>function f(a) { a.a = 5; return a; }
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  f(function() {});
  </code></pre>
  
  <p>is optimized by Closure compiler to this:</p>
  
  <pre><code>function a(){return function(){}}function b(c){c.a=5}b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a());b(a()); 
  </code></pre>
  
  <p>(It leaves the dead code.)</p>
  
  <p>However, if I remove the last line (repeat the calling only 24x), it removes the dead code. The result is empty.</p>
  
  <p>How can I force the Closure compiler to remove all the dead code also in larger projects?</p>