OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of dart2js.optimizers; | 5 part of dart2js.optimizers; |
6 | 6 |
7 /** | 7 /** |
8 * [[ShrinkingReducer]] applies shrinking reductions to CPS terms as described | 8 * [[ShrinkingReducer]] applies shrinking reductions to CPS terms as described |
9 * in 'Compiling with Continuations, Continued' by Andrew Kennedy. | 9 * in 'Compiling with Continuations, Continued' by Andrew Kennedy. |
10 */ | 10 */ |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 } | 430 } |
431 | 431 |
432 String toString() => "$kind: $node"; | 432 String toString() => "$kind: $node"; |
433 } | 433 } |
434 | 434 |
435 /// A dummy class used solely to mark nodes as deleted once they are removed | 435 /// A dummy class used solely to mark nodes as deleted once they are removed |
436 /// from a term. | 436 /// from a term. |
437 class _DeletedNode extends Node { | 437 class _DeletedNode extends Node { |
438 accept(_) => null; | 438 accept(_) => null; |
439 } | 439 } |
OLD | NEW |